search for: permission_type

Displaying 1 result from an estimated 1 matches for "permission_type".

2012 Jan 18
2
Polymorphic and standard association issue
...es << Role.create({:role => 100, :user_id => @user.id}) Rails.logger.info @user.roles.inspect ================================ ...returns nothing. I''m very confused here. My roles table has --------------------------------------------------- | id | user_id | permission_id | permission_type | --------------------------------------------------- | 1 | 1 | NULL | NULL | --------------------------------------------------- If anyone can help me out I''d greatly appreciate it. Environment: -------------- Ruby: REE Rails: 3.1.2 Passenger Thank you, Spar...