We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Log into the production server, and cd to the directory containing the app instance you are working with.
eric@ankh:/home/activate/stage$ RAILS_ENV=production rails console > Topic.find_by_name('test') => #<Topic id: 20, name: "test", created_at: "2011-12-26 21:12:34", updated_at: "2011-12-26 21:12:34"> > Topic.find_by_name('test').delete => #<Topic id: 20, name: "test", created_at: "2011-12-26 21:12:34", updated_at: "2011-12-26 21:12:34"> > Topic.find_by_name('test') => nil
Associated events will become unassociated, but won't be deleted.
We're using LESS in themes/activate/stylesheets. After making changes to the LESS files, run rake less to recompile.
rake less
rake db:migrate RAILS_ENV="production"