Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

Grouping created_at by date only?

Rails: How do I autocomplete search for Name but save ID?

Rails Active Record Search - Name includes a word

return custom query select in activerecord

Unlimited arbitrary properties (key/value pairs) for an ActiveRecord model

How to create a ActiveRecord::RecordInvalid for testing?

ActiveRecord: Nullify foreign key after deleting a child in self-joins

rails group by and order by column

Rails 3 new_record? deprecated

Rails expanding fields with scope, PG does not like it

Many-to-many association with multiple self-joins in ActiveRecord

Rails - Including associations with dynamic conditions

OR operators and Ruby where clause

How best to sanitize fields in ruby on rails

Using Rails update_all method to update fields with value from another column

Dynamically added hash properties to Rails Model instance object?

How to edit Rails serialized hashes in a form?

what is the equivalent of "find_all_by_id" in rails 4

Multiple children in single form in rails

Rails: ActiveRecord Query for has_many :through model