Permalink
Browse files

fix typos

  • Loading branch information...
1 parent c598a5f commit d16e306cc2e8115d84cbc1a6afbeecc21ab64830 @khustochka committed Jan 16, 2010
Showing with 2 additions and 2 deletions.
  1. +1 −1 db/pure_sql_migrations.rb
  2. +1 −1 lib/rails_ext/sorted_hierarchy/sorted_hierarchy.rb
@@ -1,4 +1,4 @@
-class PureSQLMigrationS < ActiveRecord::Migration
+class PureSQLMigrations < ActiveRecord::Migration
def self.up
#add foreign keys
@@ -26,7 +26,7 @@ def child_of(association_id, options = {})
end
def set_sort_column(value)
- white_inheritable_attribute(:sort_column, value.to_sym)
+ write_inheritable_attribute(:sort_column, value.to_sym)
end
def get_sort_column

0 comments on commit d16e306

Please sign in to comment.