Update...Looks like the query is being run twice.My development log says...---Event Load (0.000271) SELECT * FROM events WHERE (name = 'Celine Dion') LIMIT 1Event Columns (0.000165) SHOW FIELDS FROM events
Logger: Found record: Celine DionEvent Load (0.000187) SELECT * FROM events WHERE (name
Just wanted to echo Sean's comments. Great work! It's
awesome to see the different ways people have used
Radiant to build their solutions. Congrats again!
Justin
--- Sean Cribbs <[EMAIL PROTECTED]> wrote:
> Congratulations, Nathan. What a beautiful site!
> Keep up the good work.
>
> Sean Crib
event_behavior.rb---class EventBehavior < Behavior::Base register 'Event' description = %{} define_tags do tag 'event' do |tag| if tag.attr['find']
tag.locals.event = Event.find_by_name(tag.attr['find']) end tag.expand end tag 'event:name' do |tag|
Loren,It sounds like you're tackling a hard problem. I also had to tackle some hard conceptual problems when figuring out how to do the Commentable. It will be rewarding, I promise! In doing so, I learned a lot about what makes Radiant tick, even though I already understood Rails.
1) Virtual pag