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

rolify deprecation warnings #5

Closed
MunkiPhD opened this issue May 11, 2013 · 2 comments
Closed

rolify deprecation warnings #5

MunkiPhD opened this issue May 11, 2013 · 2 comments

Comments

@MunkiPhD
Copy link
Owner

Rolify uses deprecated calls as of Rails 4. Need to fork the project, or see if the project will be updated.

@MunkiPhD
Copy link
Owner Author

It's an issue with Rolify and needs to be fixed. At the time Rolify didn't
seem to be under active development, so it needs to be branched and updated
for Rails 4 - as the new methods will break (at first look) any previous
version of Rails. This takes time - and I haven't personally gotten around
to taking care of the deprecations.

On Wed, Jun 26, 2013 at 4:36 PM, ecnalyr notifications@github.com wrote:

I receive deprecation warnings when I:

add_role(:role)

to any User with Rails 4.

DEPRECATION WARNING: This dynamic method is deprecated. Please use e.g.
Post.find_or_create_by(name: 'foo') instead.


Reply to this email directly or view it on GitHubhttps://github.com//issues/5#issuecomment-20078036
.

-Dennis
A man is measured by his will: His will to live; His will to die.
MumbleMunki http://www.mumblemunki.com
Eat.Sleep.Lift.Live. http://www.eatsleepliftlive.com

@MunkiPhD
Copy link
Owner Author

The issue has been resolved by pointing to the GitHub repo as opposed to the one on rubygems

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

No branches or pull requests

1 participant