Sean
Not a member
Sean's latest activity
Wednesday, September 08 2010
-
Sean created the ticket at 4:50 PMI ran into a problem when deploying a Rails3 app on a new server. I have a couple of STI models, and when running db:migrate or schema:load, AR would attempt to...
Tuesday, August 10 2010
-
-
Sean commented at 9:04 PMThe reason this is a problem is that if you have scopes in a parent class that you're calling from a couple of different child classes, you may need to perform ...
-
Sean created the ticket at 9:03 PMI don't know if this is a bug or intentional, but when calling a :scope in a parent class from it's child class (STI model), self within the scope evaluates to ...
Saturday, August 07 2010
-
Sean created the ticket at 7:20 PMThe following simple query:
User.where('id IN ?',[1,2])generates the following incorrect SQL syntax, when using Postgres:
SELECT "users".* FROM ...
-
Sean created the ticket at 2:17 AMIt appears that setting Rails::Application.config.time_zone (in application.rb) does not set ActiveRecord::Base.default_timezone.
If I set the config.time_zone ...
Friday, August 06 2010
-
Sean created the ticket at 1:49 PMSQLlite requires that a SQL statement with an OFFSET command include a LIMIT statement. The way to use an offset to return all remaining records with no limit, ...
Tuesday, August 03 2010
-
Sean created the ticket at 3:18 PMMaybe I'm doing something wrong, but it seems that when chaining scopes that each have an :includes on different tables, that only the first include is converte...
Thursday, July 15 2010
-
- Importance changed from to Low
Any chance of reconsidering? This may a worthy addition. Flashing notices while rendering is I believe not uncommon (since it usually mean recycling the page du...
Wednesday, November 11 2009
-
Sean commented at 5:56 PM+1 experiencing the same problem. In my case, removing DISTINCT from the SQL statement (or :uniq from the AR command) solves the problem.