apigy / selfstarter

Roll your own crowdfunding

Home Page:selfstarter.us

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Depecration Warning during rake db:migrate

thiagovsk opened this issue · comments

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.

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.

I fixed the warnings on:

#104