Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

How should I use Rails to index and query a join table?

Rails 4 after_save previous_changes not working

Modelling stock considering orders in Rails

Shouldn't Rails find_by_ methods return an empty array instead of nil?

Bulk upsert with Ruby on Rails

Ruby/ActiveRecord not detecting changes after stripping whitespace from field

mysql ruby activerecord

No possibility to update model attributes with a block syntax?

Postgres JSON field update with ActiveRecord

Rails: `includes` a `has_many` relation with `limit`

Find records with multiple foreign key values in Rails

Know what event triggered the after_commit of an ActiveRecord model

rails active record has_many foreign key after custom function

Rails Active Record Instance Variables

Nested Object w/ Checkboxes - mass-assignment even with accepts_nested_attributes_for?

User specified dynamic model fields in Rails

Find all objects with broken association

find_or_create race conditions

Rails 3 ActiveRecord .skip_callback thread safety

FactoryGirl before(:create) callback not creating associations

Rails transactions within transactions?