lib/generators/mongoid/rolify_generator.rb in rolify-3.3.0.rc4 vs lib/generators/mongoid/rolify_generator.rb in rolify-3.3.0
- old
+ new
@@ -42,10 +42,10 @@
},
{ :unique => true})
scopify
RUBY
- content % { :user_cname => user_cname.constantize.table_name }
+ content % { :user_cname => user_cname.constantize.collection_name }
end
end
end
end
\ No newline at end of file