Displaying 1 result from an estimated 1 matches for "fitting_profil".
Did you mean:
fitting_profile
2010 Mar 04
25
how to share variables in data migrations (up/down)
...work because "statuses" don''t seem to be in
scope for both up and down.
class AddDefaultValuesToStatuses < ActiveRecord::Migration
statuses = [
{
''details'' => ''details'',
},
{
''fitting_profile'' => ''fitting profile'',
},
{
''live'' => ''published on site'',
},
{
''sold'' => ''auction ended'',
},
]
def self.up
stat...