Allan Cochrane
Not a member
Allan Cochrane's latest activity
Thursday, April 24 2008
-
Allan Cochrane created the ticket at 2:51 PMAs described in the Google group, the tests seem to be broken, especially miffed abouth the #size method 'cos that buggers up some of my other plugins (e.g. so...
Friday, March 07 2008
-
Allan Cochrane commented at 3:26 AMI think the issue may have been solved:
>> Project.select{'column' == 'value'}.to_sql => "SELECT * FROM ProjectsDB.projects WHERE column = 'value'"which s...
-
Allan Cochrane created the ticket at 3:20 AMGiven:
class ResultBaseClass < ActiveRecord::Base end class SysvalResult < ResultBaseClass end class SysvalResultAR < ActiveRecord::Base endthen I...
Tuesday, October 09 2007
-
Allan Cochrane commented at 4:00 PMOn reflection, I'm not sure it's got much to do with changing table names, because that part seems to be correct:
From script/console:
>> Project.table_name
...
Friday, September 28 2007
-
Allan Cochrane commented at 3:27 PMDB is MySQL.
To illustrate:
I'm expecting the result of
FormalResult.find(:all, :conditions => {'module_name' =>"comfy"})
to be the same as:
FormalResult....
Tuesday, September 25 2007
-
Allan Cochrane created the ticket at 10:15 AMin script/console I run
>> SimulationColumn.select{'name' == "comfy"}.to_sql
=> "SELECT * FROM simcols WHERE 'name' = 'comfy'"
(This is a legacy database, t...