Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Switch from HABTM to has_many through #227

Conversation

enricostano
Copy link

This is just a first iteration, feedback are very welcome!

Original issue: https://github.com/EppO/rolify/issues/178

ToDo:

  • Add MongoDB compatibility please HELP
  • Fix all the other specs
  • Add more specs

it { should exist }
it { should contain "class AdminRole < ActiveRecord::Base" }
it { should contain "has_and_belongs_to_many :admin_users, :join_table => :admin_users_admin_roles" }
it { should contain "belongs_to :admin_user" }
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure about this one... any hint?

@tmaier
Copy link

tmaier commented Feb 14, 2014

This whitespace changes make this PR hard to follow... Especially when there are more commits coming.

Have you checked out #181? This is another PR working on the same issue.

@enricostano
Copy link
Author

thanks @tmaier I'm closing this one. I'll try to help in https://github.com/EppO/rolify/pull/181

@enricostano enricostano closed this Mar 8, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants