remove trailing spaces and blank lines

This commit is contained in:
Stella Rouzi 2014-08-18 21:26:45 +03:00
parent a1ed852287
commit f91467a00a
15 changed files with 259 additions and 37 deletions

View file

@ -5,15 +5,13 @@ class ActsAsCommentableUpgradeMigration < ActiveRecord::Migration
add_column :comments, :parent_id, :integer
add_column :comments, :lft, :integer
add_column :comments, :rgt, :integer
end
def self.down
rename_column :comments, :body, :comment
remove_column :comments, :subject
remove_column :comments, :parent_id
remove_column :comments, :lft
remove_column :comments, :rgt
end
end