Displaying 3 results from an estimated 3 matches for "_job".
Did you mean:
1job
2007 Apr 26
0
ActiveRecord: mapping column names when using legacy schemata
...mapping between MySQL column names
and method names to be used in the Ruby class, without having the
underlying
column names being visible anymore.
How can I pre-define a static mapping of all (legacy) column names to
new
Class method names?
e.g.: given legacy schema:
Table _fix has columns:
_job
_ change
_date
_effect
When defining the Ruby class, I''d like to do something like this:
class Fix < ActiveRecord::Base
self.table_name = "_fix"
use_mapping ( # imaginary construct..
:_job => "job_id",
:_change =&g...
2010 Aug 02
0
delayed)_job gem installation issue
here is my environment.rb
config.gem ''collectiveidea-delayed_job'', :source => ''http://
gems.github.com''
>>gem list | grep coll
collectiveidea-delayed_job (1.8.2)
The gem infact got installed via rake gems:install. but now when I
start my app, it doesn''t recognize the gem being installed. Please
help.
script/gener...
2007 Apr 26
1
mapping column names in legacy schemata
...ing between MySQL column names
and method
names to be used in the Ruby class, without having the original column
names being visible anymore.
how can I pre-define a static mapping of all (legacy) column names to
different Class method names?
e.g.: given legacy schema:
Table _fix has columns:
_job
_ change
_date
_effect
When defining the Ruby class, I''d like to do something like this:
class Fix < ActiveRecord::Base
self.table_name = "_fix"
use_mapping ( # imaginary construct..
:_job => "job_id",
:_change =&g...