Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

Remove element from ActiveRecord_Relation in rails

Querying a Postgres array of integers in Rails

has_one and has_many in same model. How does rails track them?

Advantages and disadvantages of Ruby on Rails polymorphic relationships [closed]

Multithreaded ActiveRecord requests in rspec

codeigniter - database : how to update multiple tables with a single update query

Rails 3.1 - find using count and select as

ActiveRecord execute raw sql not returning any results?

Create missing auto increment attribute with rails migration

Rails: validate presence of foo unless bar == 'baz'

acts_as_taggable_on: how to optimize the query?

Rails 3.1 limit user created objects

Rails 3 ignore Postgres unique constraint exception

Search over a nested / multi-level Postgres JSON type using Active Record

ActiveRecord query with alias'd table names

Skip after_commit on destroy in rails

Rails 3: Arel for NOT EXISTS?

Rails 3 add virtual attribute dynamically

Is :on => :create valid for a before_save callback in Rails 3.2.3

ActiveRecord::AssociationTypeMismatch: User expected, got Fixnum