search for: classifiedcontrol

Displaying 5 results from an estimated 5 matches for "classifiedcontrol".

2007 Jan 31
2
NoMethodError in ClassifiedController#create
Hope you can help. Getting the error message NoMethodError in ClassifiedController#create You have a nil object when you didn''t expect it! You might have expected an instance of ActiveRecord::Base. The error occurred while evaluating nil.save Here''s my controller code. I''m totally new to ruby on rails so help would be much appreciated class Classi...
2007 Jul 20
2
Errno::EBADF in ClassifiedController#list
Hi I was working with a tutorial from a book yesterday and I got to a point where I configuered the routing and it was working fine. And didnt make any changes to it except for debuging. But today I get the following error. Any ides on why is doing this ? ? ? Errno::EBADF in ClassifiedController#list Bad file descriptor - connect(2) RAILS_ROOT: ./script/../config/.. -- 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 t...
2008 May 09
0
NoMethodError in ClassifiedController#update
My project was working when I add new field category It is showing the error in create form and edit form i am sending u controller file as attechment this is my model(category.rb) dor category file class Category < ActiveRecord::Base has_many :classifieds end and this is edit.rhtml <h1>Editing Classified: <%= @classified.title -%></h1> <%= form_tag :action =>
2007 Mar 11
5
Mysql::Error #28000Access denied
....column :updated_at, :timestamp end end def self.down drop_table :classifieds end end</code> 8. rake migrate -- check to see tables have been made in Cocoa (success!) 9. ruby script/generate controller Classified 10. Update classified_controller.rb file w/ <code>class ClassifiedController < ApplicationController def list @classifieds = Classified.find(:all) end def show @classified = Classified.find(params[:id]) end def new end def create end def edit end def update end def delete end end</code> 11. Point page to <a href=&qu...
2011 Nov 02
4
undefined method `updated_at' for #<Classified:0x686c5e4>
HEllo, I have the following problem with rails, I am new in this...is there anyone who explain to me what´s happens? Thanks See below: NoMethodError in Classified#show Showing app/views/classified/show.rhtml where line #17 raised: undefined method `updated_at'' for #<Classified:0x686c5e4> Extracted source (around line #17): 14: 15: <strong>Date Posted:</strong>