Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

How can I select a SUM in a query using Rails 3 / MetaSearch?

Rails validating that password_confirmation is present when password is also present or has been changed

How to set a display name for a field in Rails

Rails 3.1 / mysql2 error : "MySQL server has gone away"

Rails 3 ActiveRecord method chaining, under the hood

More efficient way of doing destroy_all in Rails?

Codeigniter active record statement not running when sql query doesn't return anything

Adding existing has_many records to new record with accepts_nested_attributes_for

Arel: active relation from Arel::SelectManager with join

Ruby on Rails: How to join two tables

Dynamically connecting a model to databases in a running app?

ActiveRecord Global Callbacks for all Models

How do I override rake tasks for a custom database adapter?

Can I use common ActiveRecord scopes(scope) with module in Rails?

Rails ActiveRecord regex validation of non-mandatory fields

Update with limit 1 in codeigniter use active record

codeigniter activerecord

After renaming a model and changing all references to the model, a reference remains to the previous name

ActiveRecord exists? with associations

Can I convert model with one of its associations to YAML format?

Yii2 viaTable join condition

php mysql join activerecord yii2