Displaying 1 result from an estimated 1 matches for "log_controller".
Did you mean:
blog_controller
2007 Jul 05
2
undefined method `original_filename' for "random.jpg":String
...ly created.''
#redirect_to :action => ''list''
redirect_to :controller => ''log'', :action => ''show'', :id =>
@journal.log_id
else
render :action => ''new''
end
end
...
controllers/log_controller.rb:
...
def new
@log = Log.new
@logtypes = Type.find(:all).collect { |l| [l.name, l.id] }
@systems = System.find(:all).collect { |s| [s.name, s.id] }
@subsystems = Subsystem.find(:all).collect { |s| [s.name, s.id] }
@clients = Client.find(:all).collect { |c| [c.name, c.id] }...