meta-where
how would I translate this from searchlogic to metwhere in Rails 3?
I had the following in searchlogic: Todo.contact_id_is(self.id).ascend_by_original_date.done_date_not_null.first[详细]
2023-04-09 05:49 分类:问答Selecting unique rows when doing a join
Fist a little background: I\'m using Rails 3.0.7, Postgres 9.0 and MetaWhere/MetaSearch 1.0.4 I have a very frustrating problem with getting the unique records when querying the my database.[详细]
2023-04-06 21:56 分类:问答Migrating from MetaWhere to Squeel and away from using symbols
I have an application where I want to migrate from MetaWhere to Squeel in preparation for an upgrade to Rails 3.1.[详细]
2023-04-03 22:51 分类:问答MetaWhere to Squeel migration
In MetaWhere I combined conditions to sql variable using loops, if else statements. sql = {} email_starts_with = \"vany%\"[详细]
2023-04-02 04:14 分类:问答Rails Searching calculated fields using metasearch and metawhere
Has anyone been able to find a way to search a calculated field using metawhere or m开发者_运维百科etasearch in rails 3? I can search any field but calculated fields. There has to be a way. For anyone[详细]
2023-03-28 09:27 分类:问答Ruby-on-rails gem failing for "where" condition of meta_where
I have a question about what is probably a gems problem, but may be meta-where.I used gems to install meta_where-1.0.4, and the response was that I succeeded and the uri for meta_where was provided, b[详细]
2023-03-24 14:59 分类:问答How do I do this query using metawhere and joins?
I have User.rb: has_many :sent_messages, :class_name => \"Message\", :foreign_key => \"sent_messageable_id\"[详细]
2023-03-18 06:01 分类:问答How do I search through associations in metawhere in Rails 3?
When I was using searchlogic, I couuld use the following: 27 #@todos = Todo.contact_user_id_is(current_user).[详细]
2023-03-10 01:04 分类:问答SQL query for field content containing whole words that begin with PHRASE
I am trying to write a SQL query to fetch rows whose fields contain multiple key words.The use for the query is to fetch results for an autocompleter function implemented with jQuery.[详细]
2023-03-06 18:31 分类:问答Want to find records with no associated records in Rails
Consider a simple association... class Person has_many :friends end class Friend belongs_to :person end What is the cleanest way to get all persons that have NO friends in ARel and/or meta_where?[详细]
2023-02-17 05:31 分类:问答