I have been banging my head on this...
post {:controller => 'login', :action => 'login'}, {:invite_id => @invite_to_lee_space.id}
is a line that is giving me syntax errors in a functional test - i cannot see why though - any thought?
I have been banging my head on this...
post {:controller => 'login', :action => 'login'}, {:invite_id => @invite_to_lee_space.id}
is a line that is giving me syntax errors in a functional test - i cannot see why though - any thought?
post(
{:controller => 'login', :action => 'login'},
{:invite_id => > @invite_to_lee_space.id}
)
ruby thinks the first hash is a block passed to 'post'.
hth.
-a
On Tue, 20 Sep 2005, Ben Burdick wrote:
I have been banging my head on this...
post {:controller => 'login', :action => 'login'}, {:invite_id => > @invite_to_lee_space.id}
is a line that is giving me syntax errors in a functional test - i cannot see why though - any thought?
email :: ara [dot] t [dot] howard [at] noaa [dot] gov
phone :: 303.497.6469
Your life dwells amoung the causes of death
Like a lamp standing in a strong breeze. --Nagarjuna
===============================================================================