Still learning, but it is getting easier by the minute ;)

I have a bunch of controllers (that correspond to db tables) and
corresponding views.  However, I want to use the views with
link_to_remote into divs on a page that is created as a "base" that is
loaded WITHOUT making any calls on the db.  To this end I created a dud
controller, main, with a single empty method

def load
end

and a corresponding view that is the html "base".  This works fine, but
I wanted to check and see if there are any caveats against doing this
(using a seperate dud controller) or if there is a more "conventional"
way to go.

I could put the empty method into a real, existing controller, I just
figured "main/load" would be tidier...
-- 
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 rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to