Hi.

The Motivation is mainly due to resources.  My client is a not for
profit company with very limited resources and funding.  I am also
using a few things like User/Role Engines (the really old ones that do
not support Rails 1.2) and a few more things which will mean that I
will need to do quite a bit of re-factoring. Also as Rails 3 is coming
out, if I am going to do a move and I can pitch it to my client, it
might as well be to Rails 3.  And finally if it ain't broke ... :)

The first error I was getting was to do with alias_method_chain.  I
changed that to use the older alias_method way, I then got the error
message

./script/../config/../vendor/plugins/thinking_sphinx/lib/
thinking_sphinx/configuration.rb:160:in `load_models': undefined
method `configuration' for Rails:Module (NoMethodError)
        from script/../config/../vendor/plugins/thinking_sphinx/
init.rb:4:in `load_plugin'
        from ./script/../config/../vendor/rails/railties/lib/
initializer.rb:348:in `load_plugin'
        from ./script/../config/../vendor/rails/activesupport/lib/
active_support/core_ext/kernel/reporting.rb:11:in `silence_warnings'
        from ./script/../config/../vendor/rails/railties/lib/
initializer.rb:348:in `load_plugin'
        from ./script/../config/../vendor/rails/railties/lib/
initializer.rb:158:in `load_plugins'
        from ./script/../config/../vendor/rails/railties/lib/
initializer.rb:158:in `each'
        from ./script/../config/../vendor/rails/railties/lib/
initializer.rb:158:in `load_plugins'
        from ./script/../config/../vendor/rails/railties/lib/
initializer.rb:102:in `process'
         ... 9 levels...
        from ./script/../config/../vendor/rails/activesupport/lib/
active_support/dependencies.rb:147:in `require'
        from ./script/../config/../vendor/rails/railties/lib/commands/
server.rb:30
        from script/server:3:in `require'
        from script/server:3

At this point I thought instead of dissecting the plugin, I might as
well ask on the mailing list.

I will try and see what things break in my app with Rails 1.2.6.

Thanks.

Kind Regards
Hamza


On Jun 22, 3:37 pm, Pat Allan <p...@freelancing-gods.com> wrote:
> Hi Hamza
>
> I do try to keep TS working with Rails 1.2.6 - is there any chance you  
> can upgrade to at least that?
>
> Also, have you tried TS with 1.1.6? What problems are you seeing?
>
> --
> Pat
>
> On 22/06/2009, at 5:11 AM, hamza khan-cheema wrote:
>
>
>
>
>
> > Hi.
>
> > I am looking into moving from acts_as_searchable to thinking sphinx.
> > However we are running Rails version 1.1.6.
>
> > Has anyone had any joy in amending the plugin to work on the Rails 1.1
> > branch?
>
> > Thanks.
>
> > Kind Regards
> > Hamza Khan-Cheema

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Thinking Sphinx" group.
To post to this group, send email to thinking-sphinx@googlegroups.com
To unsubscribe from this group, send email to 
thinking-sphinx+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/thinking-sphinx?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to