Well, basically *everywhere* where it says "low" in the below code 
example:

The "resulting" code...
==========================
  if @user.low == true
    @low = false
  elsif @user.low == false
    @low = true
  end

  [...]
==========================

...is supposed to be "generated" by something like this... (which is NOT 
yet correct syntax)

==========================
  if @user.{params[:id]} == true
    @{params[:id]} = false
  elsif @user.{params[:id]} == false
    @{params[:id]} = true
  end

  [...]
==========================

Thanks for your help!
-- 
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 to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to