If i remove any one of scopes having clause then the above action works perfectly . Is there any way to like- @model = Model.vacant_list(daterange) and then remove the active record relation and then apply @model.amenity_type(term). I tried lots of things but didnt find any solution for this..... Full question listed here http://stackoverflow.com/questions/6986561/how-to-merge-multiple-having-clause-relation-in-rails-3
-- 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.

