Marnen Laibow-Koser wrote:

> I don't believe it will, but perhaps I don't understand the structure of 
> your app.  Can you explain how you're using this?
> 
> Anyway, even if it *does* mean extra coding, it's the right thing to do.
> 


Let's say I have 5 pages. Each page can have 1 or more areas which can 
be edited by the user. Probably 1-3 areas, where the main sections is 
the body text.

Each area is assigned an id. By using my setup as above I can assign the 
id and content for each area in the view, and that's it. No extra coding 
or assigning a variable for each page and each area.

This is like static CMS where the control of new pages are limited but 
not the actual text/content.
-- 
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