[Rails] Re: make a clickable

2009-04-01 Thread Daniel Liebig
Richard Schneeman wrote: > I would like to make an entire table row clickable so the user will be > directed to another url. If i was using hand written javascript i would > just add an onclick to the , but i want to use rails routes and to > be able to pass in parameters from ruby. What is the be

[Rails] Debugging Cookie Behavior

2009-03-31 Thread Daniel Liebig
Hi All, this is getting desperate... I have a rails applcation setting a cookie like cookies[:foo] = 'bar' At my local development system (Mac 10.5.6, Ruby 1.8.6, Rails 2.2.2) mongrel (how do i find out the mongrel version, btw.?) sets this cookie both on development and production environment

[Rails] Cookie not written in production environment

2009-03-12 Thread Daniel Liebig
Hi there, Rails 2.2.2 on Debian Server. i'm setting a cookie like cookies[:tg_usn] = { :value => @user.username, :expires => 5.day.from_now, } This work's fine in development environment, but when i start mongrel with production environment (same server, same network), no cookie is set by

[Rails] Problems installing acts_as_list plugin

2009-02-23 Thread Daniel Liebig
Hi There, i'm using Ruby 1.8.6 on Rails 2.2.2 on a Mac OSX 10.5.4 and i'm trying to use acts_as_list in a project. While testing with rake test:units i got an "[..] `method_missing': undefined method `acts_as_list' [...]" Error. After googeling a while i changed into the project directory and t