Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

how to add index conditionally

ActiveRecord and sorting on association

When are Active Record objects in has_many relationships saved?

How to convert postgres column type from string to float

Many-to-many self join in rails?

concat two fields activerecord

ActiveModel::MassAssignmentSecurity::Error: Can't mass-assign protected attributes:

Rails 3. Query for not true

How to process a large ActiveRecord result set in groups

Bypass readonly? when saving ActiveRecord

Globalize3 order records by translated attributes and taking fallbacks into consideration

Order products by association count

Codeigniter Activerecord update method refuses to insert NULL value

How does Rails find models and controllers? How can I get it to load more models?

group by + sum on multiple columns in rails 3

Using check boxes with a has_many relationship

How do I perform a LIKE query on a PostgreSQL primary id column?

Filtering Rails 3 database query through multiple conditions/filters

Best practices for getting a list of IDs from an ActiveRecord model

Use active record to find a record by month and day, ignoring year and time