Thank you for everybody.

I change the class name.

Robert Walker wrote:
> @recent_news_items = NewsItem.recent
>
> or
>
> @recent_news_items = News.recent
It did not hit on in me.
"What is new?" is in "News".



P.S.
I added
rails/lib/rails_generator/generators/components/model/
model_generator.rb

to

p 'warning: class_name' unless class_name ==
class_name.pluralize.singularize


--~--~---------~--~----~------------~-------~--~----~
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