I had model Event and User (Devise gem) in my ruby on rails application.
So :
- Event model can has_many Users
- User model can has_many Events
Furthermore I need to restrict Post access at some Users with CanCan? You had any idea?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Sean Hill is maybe brutal, but yes, you should use Google for this :
You should learn to search yourself.