I've created a new action in my invitations controller named
validate and validation
controller/invitations_controller.rb
def validate
end
def validation
@invitation = Invitation.find(params(:key))
if @invitation != nil
redirect_to new_client_path, :notice => 'Codigo Aceptado'
else
fl
I'm having issues submitting a form to the create action.
In routes I have
map.resources :encryption_passphrases
This resource is not using an ActiveRecord model, so I can't use the
form_for method in the view.
In app/views/encryption_passphrases/new.html.erb I have this:
<% form_tag(encryp
2 matches
Mail list logo