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 be done to properly activate the gem and make its
methods available?

Thanks, Barney

On Aug 3, 7:08pm, Barney [email protected] wrote:

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 be done to properly activate the gem and make its
methods available?

Did you add it to your Gemfile and run bundle install ?

Fred