search for: loggercontrol

Displaying 2 results from an estimated 2 matches for "loggercontrol".

2006 Jun 27
0
forms - a better way to pass data?
...arguments.. the snipped of code at the bottom of this shows how i handled this.. it works and all, but i want to come up with a better way to do this when i have a HUGE form that may run into this problem.. so, is there a more elegant way to do this? thanks so much! ---code snippet--- class LoggerController < ApplicationController def index if request.post? and @params[:usage]=="logger" @data=@params @entry = Entry.new(:user=>params[:user],:realm=>params[:realm],:status=>params[:status],:message=>params[:message]) @entry.save else @message...
2006 Jun 27
5
setting up mongrel..
...cked on to the end of this as a result.. i think i am just going to unroll this via webrick for test, so i can have something to start with.. but i would sure like to get on the road with a production server.. any help would be greatly appreciated: error is as follows: _____ Errno::ENOENT in LoggerController#index No such file or directory - /tmp/mysql.sock RAILS_ROOT: /home/sergio/railssites/chatlogger/config/.. Application Trace | Framework Trace | Full Trace /usr/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/active_record/vendor/mysql.rb:104:in `initialize'' /usr/lib/ruby/gems/1.8/gem...