Arel is a Relational Algebra for Ruby.
What is the best way to find records with duplicate values in a column using ruby and the new Activerecord?
ruby activerecord arelI have a model relationship where today has many tasks I'm trying to retrieve a user's today object, include the …
ruby-on-rails ruby activerecord arelI would like to perform an ActiveRecord query that returns all records except those records that have certain ids. The …
activerecord ruby-on-rails-3 arel active-relationSetup Rails' where method can take a range in a hash to generate a query that will search for a …
mysql sql ruby-on-rails date arelGiven class Category < ActiveRecord::Base has_many :products, :order => 'name ASC' end Using the Rails 3 stack, how can …
ruby-on-rails ruby ruby-on-rails-3 arelSo this is more of an arel question than anything but here's what I am trying to do. I have …
ruby-on-rails postgresql activerecord arelDo association methods, such as those defined by has_many and belongs_to utilize ActiveRecord::Relation? If so, is it …
activerecord ruby-on-rails-3 associations arelI understand that it is a replacement for ActiveRecord and that it uses objects instead of queries. But... why is …
ruby-on-rails ruby activerecord arelI need to insert a array of emails as different records into my contacts table. How can this be done. …
ruby-on-rails ruby-on-rails-3 activerecord arelThis returns the maxium value, not the complete record: self.prices.maximum(:price_field) And currently, I find the record …
ruby-on-rails-3 activerecord max arel