Hey folks
A long time ago, before i started working at this company, we used a
Beast forum. The beast code (models, controllers and views) were all
just lumped in with our app code, but when we moved to a new version
(about a year and a half ago) the forum section of our site was closed
off (simply by not linking to it anywhere).
I've been tasked with resurrecting it, and the first problem i'm seeing
is code like this in the views:
<%= '{count} topic(s)'[(count=Topic.count)==1 ? :topic_count :
:topics_count, number_with_delimiter(count)] %>,
or
<%= submit_tag 'Save Forum'[:save_forum], :or =>
link_to('Cancel'[:cancel], forums_path) %>
My first thought was "wtf is that?", and it's that question that i put
to you, dear readers.
max
--
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
-~----------~----~----~----~------~----~------~--~---