search for: registration_controller

Displaying 3 results from an estimated 3 matches for "registration_controller".

2011 Nov 05
13
Adding a site admin user while creating a site
Hi Gurus, I wanted to add siteadmin user(basically a user with a certain role) while creating the site itself. I hope that i have done all the necessary stuff by going through raynb''s railscasts ( http://railscasts.com/episodes/196-nested-model-form-part-1) But could not see user fields being displayed in the site creation form.. Below are the details. I Have two model users and
2006 Feb 20
0
No Magic for HABTM forms?
...quot;registration[people_ids][]", "first_name" .... But it seems it can''t do that, so I used text_field_tag in the form like so: text_field_tag("registration[people][1][first_name]" ... text_field_tag("registration[people][2][first_name]" ... Then my registration_controller handles the creation and mapping of those two people to the registration explicitly (This feels LAME): def save_registration reg_params = @params[''registration''] @registration = Registration.new() people = reg_params[:people] people.each {|key, properties|...
2013 Sep 11
2
Mandrill mail problem
Hello All, I am trying to use Mandrill api in my rails app. I am getting this error every time:- Net::SMTPServerBusy (401 4.1.7 Bad sender address syntax) I am using Ruby - 1.9.3, rails - 3.2.8, Thin server, & Ubuntu 12.10. in Gemfile:- gem "mandrill-api", "~> 1.0.45" gem ''mandrill_mailer'' application.rb:- config.action_mailer.default_url_options