Displaying 5 results from an estimated 5 matches for "meta_where".
2011 Aug 03
1
Gem and/or meta_where problem
I''ve installed the gem "meta_where" (and it reported back:
"Succeeded") but when I use the example in a search method of a
controller:
Person.where(:some_field.matches => ''%something%'')
there is an error that it doesn''t know the method ''matches'', so what
still needs to...
2010 Apr 12
2
[PATCH] Access to more Arel predicate types from where condition hash
I could use some eyes on https://rails.lighthouseapp.com/projects/8994/tickets/4368
if anyone has the time.
Summary of the change:
Similar to PredicateBuilder''s existing support for ''table.column'' =>
''value'', this patch enables ''column#method'' => ''value''.
For instance,
2011 Feb 08
4
Remove ActiveRecord::Relation#& alias for 'merge' ? (or at least only reference and not use in AR)
...39;'|'' => Union
''+'' => UnionALL
''&'' => Intersect
''-'' => Except (Minus for Oracle)
to operate on two ActiveRecord::Relation instances.
This is sitting as a pending pull request on MetaWhere:
https://github.com/ernie/meta_where/pull/12
Ernie Miller and I have been going back and forth. Ernie points out
that ActiveRecord is using the alias ''&'' a few times in the code base
instead of ''merge'' and overriding this method in MetaWhere would cause
some major issues.
Thoughts?
--
You re...
2011 Jan 14
0
[Rail3] How to construct full-text search for habtm associations
hi all, i''m new to this group and currently using Rails 3.0.3 and meta_where
0.9.10.
i''m considering how to make a full-text searching feature to my project,
and my models, for example, should be defined like below:
class Group < ActiveRecord::Base
has_and_belongs_to_many :users
# :title (string)
end
class Comment < ActiveRecord::Base
has_and_belongs...
2012 Dec 04
0
Empty test suite is run after every rake task
...----
gem ''state_machine'', :path => ''vendor/cache/git/state_machine'' # :git =>
''git://github.com/pluginaweek/state_machine.git''
# ----------------------
gem ''simple_enum''
gem ''meta_search''
gem ''meta_where''
gem ''newrelic_rpm''
gem ''capistrano'', ''2.5.21''
gem ''capistrano-ext''
gem ''mongrel''
gem ''mongrel_cluster''
gem ''dispatcher'' # needed by mongrel to start without rai...