test/dummy/app/models/user.rb in
kblog-0.0.1
vs test/dummy/app/models/user.rb in
kblog-0.0.2
- old
+ new
@@ -1,3 +1,7 @@
class User < ActiveRecord::Base attr_accessible :name
+
+ def roles
+ %w{foo bar blogger}
+ end
end