Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

routes.rb - Controller name not supported

Rails/ActiveRecord has_many through: association on unsaved objects

How to call another method from a self method with ruby?

Save changes to a has_many association ONLY when you successfully save the parent object?

ActiveRecord query changing when a dot/period is in condition value

hash instead of id

Rails validation context

How to create a form for the rails-settings plugin

Has_one relationships and creating a new record in Rails 3

Private association in rails

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