How do you assign the user params to the @user object?
Try adding before the @user.save! line the following
@user = User.new params[:user]

On Wed, Feb 9, 2011 at 10:57 AM, jackster the jackle
<[email protected]>wrote:

> No, I don't have any before statements in my controller, here is what it
> looks like:
>
> class UserController < ApplicationController
>
> public
>   def signup
>  return unless request.post?
>    @user.save!
>    redirect_back_or_default(:controller => 'grapher', :action =>
> 'index')
>    flash[:notice] = "New User Successfully Created"
>    rescue ActiveRecord::RecordInvalid
>    render :action => 'signup'
> end
>
> --
> Posted via http://www.ruby-forum.com/.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Talk" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/rubyonrails-talk?hl=en.
>
>


-- 
-------------------------------------------------------------
visit my blog at http://jimlabs.heroku.com

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to