Arel is a Relational Algebra for Ruby.
I've been stuck on a problem recently for a little while and found my way to Arel which looks like …
ruby-on-rails-3 join arelSo I got this crazy idea that I wanted to apply a scope to an included association. This is what …
ruby-on-rails-3 activerecord arelI am attempting to nest SELECT queries in Arel and/or Active Record in Rails 3 to generate the following SQL …
ruby-on-rails arelHow can you do a conditional where clause? I have a rake task that runs a query. Say I am …
ruby-on-rails ruby ruby-on-rails-3 arelI have a query that needs to return results that are NOT matched in a sub query. The sub query …
sql ruby-on-rails sqlite postgresql arelI've a complex ActiveRecord query that I'm building up with different scopes, depending on the user selection. I'm using 2 gems, …
ruby-on-rails ruby activerecord arel squeelI have two models - Banner and BannerType. Their schema looks like this: Banner # Table name: banners # # id :integer not …
ruby-on-rails ruby-on-rails-3 arelI'm doing my best to bend my brain around arel and the relational algebra behind it, but how to represent …
distinct relational-algebra arelConverting a Rails 2 application to Rails 3, I have to replace the gem searchlogic. Now, using Rails 3.2.8 with the gem Ransack …
ruby-on-rails ruby-on-rails-3 arel ransackI have class Authors has_many :books, :order => 'name ASC' I am trying to query all the books sorted …
ruby-on-rails activerecord arel