search for: simplifiedversion

Displaying 1 result from an estimated 1 matches for "simplifiedversion".

2006 Aug 18
1
Migration crashes when using braces to delimit blocks
...ing to run a migration. If I delimit a block for the create_table method with braces, the migration crashes, whereas the exact same code with the braces replaced by do/end runs fine. Does anybody have any idea why this would be? Thanks, Michael. ========== Migration Code: ========== class SimplifiedVersion < ActiveRecord::Migration def self.up create_table :functional_rights { |t| # A table storing the actions on a given controller that a given right allows a user to perform. t.column :name, :string, :null => false t.column :controller, :string, :null => false t.column :action...