Sign in through GitHub

Please read for an updated status on RailsCasts:

Learn more or hide this

Jakub Chodorowicz's Profile

GitHub User: chodorowicz


Comments by Jakub Chodorowicz


Thanks for that tip. Just to clarify, you need to close this tag in following manner:

<%= BCrypt::Password.create("unencrypted_password")%>

boosting a single attribute is simple

text :title, :boost => 2.0```
but how can you boost a block like this one?

text :composition_name do


It's placed in lib/tasks/rebuild_token_auth.rake
then you can run it with

rake user:rebuild_auth_token

I've also had to check it out!


If somebody gets stuck on the part when form doesn't generate nested fields
<% f.fields_for :questions do |builder| %>
then in Rails 3.1 you have to change the tags to <%= %>

I've wasted hours on that...