Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

Rails updating multiple models on a single form

rails 3.1 active record insert or update

Combining an ActiveRecord Date and Time into a DateTime

Order by output of a class method rails

Convert SQL with subquery in SELECT clause and FROM clause to CodeIgniter active record

Get attribute's name by it's value

Compare the date only of a datetime to current date

Rails foo= vs foo_id=

CodeIgniter get_where() column IS NOT NULL [duplicate]

Has_many through association with dependant: destroy not destroying

ActiveRecord way of sorting a group before ordering

Find the 5 longest names in ActiveRecord

activerecord

How to insert primary key value explicitly?

has_many association with select

ActiveRecord touch(:column) always also updates :updated_at

Active record query with condition on instance, using foreign key

How can I get active record to throw an exception if there are too many records

"NameError: uninitialized constant" on existing ID