[Rails] Re: Re: rails named scopes joined with OR
Sandip Ransing wrote:
> Marnen thx for reply !
>
> Actually I wanted to add "OR" condition to acts_as_mappable finders,
> So that result-set will contain my own preferences too...but now it
> looks like
> for this purpose i may either need to mess up with library of
> rails_geokit plugin
> or override source of named_scope :(
No. Don't. It's a bad idea. It should never be necessary. Did you
read the link I posted?
Best,
--
Marnen Laibow-Koser
http://www.marnen.org
marnen@marnen.org
--
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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home