]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/relation_member.rb
Autofocus the search field on the index page
[rails.git] / app / models / relation_member.rb
index c1919b67a6649a9caedf88ebfcc6d0ae7a52e102..aba38511ce5e01399bb702a9ef3115b295cd95fa 100644 (file)
@@ -1,6 +1,6 @@
 class RelationMember < ActiveRecord::Base
-  set_table_name 'current_relation_members'  
-  set_primary_keys :relation_id, :sequence_id
+  self.table_name = "current_relation_members"
+  self.primary_keys = "relation_id", "sequence_id"
 
   belongs_to :relation
   belongs_to :member, :polymorphic => true