Displaying 1 result from an estimated 1 matches for "image_style".
Did you mean:
  image_store
  
2010 Apr 06
1
captcha in a belongs_to
...w in the staff edit I have to include a captcha. I did like
<% form_for @user, :url => staff_url(@staff), :html => {:method => :put
} do |f|%>
    <p>
      <%= f.text_field :first_name,:maxlength => 50 %>
    </p>
    <p>
      <%= show_simple_captcha :image_style => ''random'',:distortion =>
''medium'' %>
    </p>
<%end %>
   And in staff.rb
apply_simple_captcha :message => "Verification code does not match with
image."
  And in update action of of staff controller
  def update
    @staff...