Colin Law wrote:
> Any thoughts anyone?
> 
> Colin
> 
> 2009/5/20 Colin Law <[email protected]>

I guess here are two, but your question looks vague.



Does

 item.id == Item.named_scope_for_constant_record.id

not become

  "the item satisfies the condition of the 
named_scope_for_constant_record" ?



If for the Item class there is just this one special record, can you 
force the id to be simply 0 by manipulating the database?



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