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

Fix deprecation warnings on Rails 3.2 #5

Merged
merged 1 commit into from
Oct 23, 2012
Merged

Fix deprecation warnings on Rails 3.2 #5

merged 1 commit into from
Oct 23, 2012

Conversation

ReneB
Copy link
Contributor

@ReneB ReneB commented Oct 23, 2012

ActiveRecord::Base.set_table_name is deprecated in favor of ActiveRecord::Base.table_name=

This patch changes the calls to set_table_name to no longer cause deprecation warnings on application boot.

meerman added a commit that referenced this pull request Oct 23, 2012
Fix deprecation warnings on Rails 3.2
@meerman meerman merged commit cfd921b into meerman:master Oct 23, 2012
@meerman
Copy link
Owner

meerman commented Oct 23, 2012

applied. thanks!

On Tue, Oct 23, 2012 at 10:50 AM, René van den Berg <
notifications@github.com> wrote:

ActiveRecord::Base.set_table_name is deprecated in favor of
ActiveRecord::Base.table_name=

This patch changes the calls to set_table_name to no longer cause

deprecation warnings on application boot.

You can merge this Pull Request by running:

git pull https://github.com/ReneB/cbac master

Or view, comment on, or merge it at:

#5
Commit Summary

  • Fix deprecation warnings on Rails 3.2 for set_table_name

File Changes

  • M lib/cbac/cbac_pristine/pristine_file.rb (2)
  • M lib/cbac/cbac_pristine/pristine_permission.rb (2)
  • M lib/cbac/cbac_pristine/pristine_role.rb (2)
  • M lib/cbac/generic_role.rb (2)
  • M lib/cbac/known_permission.rb (2)
  • M lib/cbac/membership.rb (2)
  • M lib/cbac/permission.rb (2)
  • M lib/cbac/privilege_set_record.rb (2)

Patch Links

@ReneB
Copy link
Contributor Author

ReneB commented Oct 23, 2012

Thanks. I released Cbac 0.6.5 a couple of minutes ago.

Regards,
Rene

On Tue, Oct 23, 2012 at 11:03 AM, Bert Meerman notifications@github.comwrote:

applied. thanks!

On Tue, Oct 23, 2012 at 10:50 AM, René van den Berg <
notifications@github.com> wrote:

ActiveRecord::Base.set_table_name is deprecated in favor of
ActiveRecord::Base.table_name=

This patch changes the calls to set_table_name to no longer cause

deprecation warnings on application boot.

You can merge this Pull Request by running:

git pull https://github.com/ReneB/cbac master

Or view, comment on, or merge it at:

#5
Commit Summary

  • Fix deprecation warnings on Rails 3.2 for set_table_name

File Changes

  • M lib/cbac/cbac_pristine/pristine_file.rb (2)
  • M lib/cbac/cbac_pristine/pristine_permission.rb (2)
  • M lib/cbac/cbac_pristine/pristine_role.rb (2)
  • M lib/cbac/generic_role.rb (2)
  • M lib/cbac/known_permission.rb (2)
  • M lib/cbac/membership.rb (2)
  • M lib/cbac/permission.rb (2)
  • M lib/cbac/privilege_set_record.rb (2)

Patch Links


Reply to this email directly or view it on GitHub<
https://github.com/meerman/cbac/pull/5>.


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

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