I just started learning Rails 4.0.2. I was wondering if there is anything(any gem?) which allows the support of html5 in rails .html.erb pages..
So basically, lets say, If I create an email field in my .html.erb, It would look like as :
<%= f.text_field :email %> And in html5, you can simply use
<input type="email" ..> which make sure that email format is correct..
My question is:
Is it possible to use <%= f.email ... %> in .html.erb pages using the help of anything?
I hope I made my question clear. I won't mind writing more about it if it is not clear..