Ruby-on-rails-3 – Rails 3 Replacement Verification

I am new to rails, but am reading the documentation about verifying params in my controller, they seem to refer to the verification method. But in rails 3, it indicates that it is not recommended Verification. What is the new way to do this?

The error I get is: Validation has been removed from Rails and can now be used as a plugin.

This is still used, but now only in plugin form or they use another A way to replace it?

This Stackoverflow question will help you. Therefore, you can see that it is no longer needed in Rails 3. Write validation inside the controller.

I am new to rails, but am reading the documentation about validating params in my controller, and they seem to refer to the validation method. But in rails 3 , It indicates that authentication is not recommended. What is the new way to do this?

The error I get is: Validation has been removed from Rails and can now be used as a plugin.

This is still used, but now only in plugin form or they use another A way to replace it?

This Stackoverflow question will help you. Therefore, you can see that in Rails 3 you no longer need to write validation inside the controller.

< p>

Leave a Comment

Your email address will not be published.