is there is new.rhtml or new.html.erb in yours app. On Mon, Feb 8, 2010 at 7:50 PM, Aldric Giacomoni <li...@ruby-forum.com> wrote: > Diogo Delgado wrote: >> The fork code is available at: http://github.com/DBA/authlogic_openid > > I'm taking a look at the automatically generated content: > > def create > �...@report = Report.new(params[:report]) > > respond_to do |format| > if @report.save > flash[:notice] = 'Report was successfully created.' > format.html { redirect_to(@report) } > format.xml { render :xml => @report, :status => :created, > :location => @report } > else > format.html { render :action => "new" } > format.xml { render :xml => @report.errors, :status => > :unprocessable_entity } > end > end > end > > Why don't you let your code look a little more like that, and let us > know? > -- > 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 rubyonrails-t...@googlegroups.com. > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > >
-- Regards: Rajeev sharma +919813270707 -- 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 rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.