Gem Strong not installed

Asked

Viewed 49 times

0

I’m having trouble adding a Gem to my project, a Gem Strong Parameters. My version of ruby on Rails eh 4.1.4. I don’t know what’s going on.

When I give the Bundle install eis o que parace no meu terminal com bundle install

When I give a Bundle update appears this

eis o que aparece no meu terminal com bundle update

1 answer

1

In the official page of Gem strong_parameters on Github says the following:

This plugin is only Fully compatible with Rails versions 3.0, 3.1 and 3.2 but not 4.0+, as it is part of Rails Core in 4.0. An unofficial Rails 2 version is strong_parameters_rails2.

What translated means:

This plugin is only fully compatible with versions 3.0, 3.1 and 3.2 of Rails, but not with versions starting from 4.0, since starting from version 4.0 this Gem has already been integrated into its core. An unofficial version for Rails 2 is strong_parameters_rails2.

That is, as you are using version 4.1, this Gem is already installed, even if it does not appear in Gemfile.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.