Skip to content

Depecration Warning during rake db:migrate #103

@thiagovsk

Description

@thiagovsk

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions