Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

How do I optimize an ActiveRecord find_in_batches query?

Can Rails' Active Record handle SQL aggregate queries?

Creating dynamic queries depending on parameter passed in rails 3

Codeigniter, increase database value by value contained in variable

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