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

Depecration Warning during rake db:migrate #103

Open
thiagovsk opened this issue Mar 6, 2015 · 2 comments
Open

Depecration Warning during rake db:migrate #103

thiagovsk opened this issue Mar 6, 2015 · 2 comments

Comments

@thiagovsk
Copy link

When I ran

rake db:migrate

I received two warnings of deprecation

They are:

DEPRECATION WARNING: config.whiny_nils option is deprecated and no longer works. (called from block in <top (required)> at /home/thiagovsk/projetos/selfstarter/config/environments/development.rb:10)
DEPRECATION WARNING: Model based mass assignment security has been extracted
out of Rails into a gem. Please use the new recommended protection model for
params or add protected_attributes to your Gemfile to use the old one.

To disable this message remove the whitelist_attributes option from your
config/application.rb file and any mass_assignment_sanitizer options
from your config/environments/*.rb files.

See http://guides.rubyonrails.org/security.html#mass-assignment for more information.

DEPRECATION WARNING: The Active Record auto explain feature has been removed.

To disable this message remove the active_record.auto_explain_threshold_in_seconds
option from the config/environments/*.rb config file.

See http://guides.rubyonrails.org/4_0_release_notes.html for more information.

I do not know how is the contributions but I can solve it for you.

@thiagovsk
Copy link
Author

I'll use the application and would be very interesting for me evolve to rails 4.

I can do and send a "pull request"

If you find interesting let me know = D.

@thiagovsk
Copy link
Author

I fixed the warnings on:

#104

thiagovsk added a commit to thiagovsk/selfstarter that referenced this issue Mar 6, 2015
Some warnings are generated when migrating the rails 3 to 4 rails and
file "config /" are not updated

With these changes the mode of development on bulletin out.

Signed-off-by: Thiago Ribeiro <thiagitosouza@hotmail.com>
thiagovsk added a commit to thiagovsk/selfstarter that referenced this issue Mar 12, 2015
Some warnings are generated when migrating the rails 3 to 4 rails and
file "config /" are not updated

With these changes the mode of development on bulletin out.

Signed-off-by: Thiago Ribeiro <thiagitosouza@hotmail.com>
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