Re: [Rails] Re: Re: Re: Re: Re: using includes in rails models

2010-08-15 Thread Phillip Ridlen
I'm unable to duplicate your problem with Rails 2.3.5. I just learned that `config.gem "amatch"` automatically requires the library with the same name, so you shouldn't need to put `require "amatch"` anywhere in the application. Same goes for Rails 3 and Bundler. I just whipped up a simple scaffo

[Rails] Re: Re: Re: Re: Re: using includes in rails models

2010-08-14 Thread Ze Ca
Hi Philip, I put the amatch gem in the environment.rb file as config.gem 'amatch' I tried the require 'amatch' in line 1 in each of my models and got this error: MissingSourceFile in PostsController#show no such file to load -- amatch Thank you! Phillip Ridlen wrote: > I believe you've inclu