Arel is a Relational Algebra for Ruby.
How can I give an alias name for e.g. includes()? Following is given: User: active record model Student: active …
ruby-on-rails ruby-on-rails-3 ruby-on-rails-4 activerecord arelI've hit a slight block with the new scope methods (Arel 0.4.0, Rails 3.0.0.rc) Basically I have: A topics model, which …
ruby-on-rails activerecord arelI am trying to convert a "raw" PostGIS SQL query into a Rails ActiveRecord query. My goal is to convert …
ruby activerecord postgis arel rgeoI have a table of around 100 Users and I also have an array of user ids. What I wanted to …
ruby-on-rails ruby-on-rails-3 postgresql activerecord arelI'm trying to learn as much as I can about AREL. But I'm not sure what to look at. I …
ruby-on-rails-3 documentation arelUsing model concerns which include scopes, what is the best way to write these knowing that nested and/or self-referencing …
ruby-on-rails activerecord arelI have a Collection class which has many coins. I am trying to select collections which have more than two …
ruby ruby-on-rails-3 arelI have a few massive SQL request involving join across various models in my rails application. A single request can …
sql ruby-on-rails-3 activerecord ruby-on-rails-3.2 arelThere are situations where ActiveRecord sets the alias table name if there are multiple joins with the same table. I'm …
sql ruby-on-rails-4 rails-activerecord arelIn Rails3 there seems to be a problem when chaining two scopes (ActiveRelations) that each have a different include: Consider …
ruby-on-rails activerecord ruby-on-rails-3 arel