What gems can I use to validate users on my website? Or is it possible with pure ruby?
With php or jsp I used javascript, but in ruby I do not know if you can
What gems can I use to validate users on my website? Or is it possible with pure ruby?
With php or jsp I used javascript, but in ruby I do not know if you can
You can use the gem Devise , add it to your Gemfile by putting gem 'devise'
Hello Sommer the gems are exclusively from Ruby On Rails, Ruby framework, because you want to program in Ruby native? If it is web what programs, you should do it in Rails
The most used of course is Devise, you can accompany it with Cancan if you have some Roles / Privileges for certain types of users, if your app is a bit more complex I advise you to use these three:
Devise: Documentation
Cancan: Documentation
Rolify: https: //github.com/RolifyCommunity/rolify (Will not let me insert more than two links in the stack, Sorry).
If you only need a Login, use Devise.
Greetings.