Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

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

Differences between `any?` and `exists?` in Ruby on Rails?

find_by_sql with array format in Rails 3

How to get yesterday data from Rails ActiveRecord

Active Record - Where IN with multiple columns