I don't think that it uses rails directly (or action controller) as
its a library for processing real time data using the "actor"
concurrency model. I was wanting to incorporate it into a rails
project so I can share the model, and that project also happens to use
activescaffold.

I hazard a guess I'm SOL here, right ? or will need to refactor
(probably beyond me, but still...)

Again any help or hints greatly appreciated.

-Simon

On Dec 27, 2:14 pm, Sergio Cambra <[email protected]> wrote:
> Does HotPotato use rails (or actioncontroller at least)?
>
> On Martes, 27 de diciembre de 2011 04:05:29 SimonS escribió:
>
>
>
>
>
>
>
> > Sergio Thanks !  Here you go:
>
> > /Users/simon/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.3/lib/
> > active_support/core_ext/module/aliasing.rb:31:in `alias_method':
> > undefined method `render' for class
> > `ActionController::Base' (NameError)
> >    from /Users/simon/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.3/
> > lib/active_support/core_ext/module/aliasing.rb:31:in
> > `alias_method_chain'
> >    from /Users/simon/.rvm/gems/ruby-1.9.3-p0/gems/active_scaffold-3.1.13/
> > lib/active_scaffold/extensions/action_controller_rendering.rb:17:in
> > `<class:Base>'
> >    from /Users/simon/.rvm/gems/ruby-1.9.3-p0/gems/active_scaffold-3.1.13/
> > lib/active_scaffold/extensions/action_controller_rendering.rb:3:in
> > `<module:ActionController>'
> >    from /Users/simon/.rvm/gems/ruby-1.9.3-p0/gems/active_scaffold-3.1.13/
> > lib/active_scaffold/extensions/action_controller_rendering.rb:2:in
> > `<top (required)>'
> >    from /Users/simon/.rvm/gems/ruby-1.9.3-p0/gems/active_scaffold-3.1.13/
> > lib/active_scaffold_env.rb:2:in `require'
> >    from /Users/simon/.rvm/gems/ruby-1.9.3-p0/gems/active_scaffold-3.1.13/
> > lib/active_scaffold_env.rb:2:in `block in <top (required)>'
> >    from /Users/simon/.rvm/gems/ruby-1.9.3-p0/gems/active_scaffold-3.1.13/
> > lib/active_scaffold_env.rb:2:in `each'
> >    from /Users/simon/.rvm/gems/ruby-1.9.3-p0/gems/active_scaffold-3.1.13/
> > lib/active_scaffold_env.rb:2:in `<top (required)>'
> >    from /Users/simon/.rvm/gems/ruby-1.9.3-p0/gems/active_scaffold-3.1.13/
> > lib/active_scaffold.rb:362:in `require'
> >    from /Users/simon/.rvm/gems/ruby-1.9.3-p0/gems/active_scaffold-3.1.13/
> > lib/active_scaffold.rb:362:in `<top (required)>'
> >    from /Users/simon/.rvm/gems/ruby-1.9.3-p0@global/gems/bundler-1.0.21/
> > lib/bundler/runtime.rb:68:in `require'
> >    from /Users/simon/.rvm/gems/ruby-1.9.3-p0@global/gems/bundler-1.0.21/
> > lib/bundler/runtime.rb:68:in `block (2 levels) in require'
> >    from /Users/simon/.rvm/gems/ruby-1.9.3-p0@global/gems/bundler-1.0.21/
> > lib/bundler/runtime.rb:66:in `each'
> >    from /Users/simon/.rvm/gems/ruby-1.9.3-p0@global/gems/bundler-1.0.21/
> > lib/bundler/runtime.rb:66:in `block in require'
> >    from /Users/simon/.rvm/gems/ruby-1.9.3-p0@global/gems/bundler-1.0.21/
> > lib/bundler/runtime.rb:55:in `each'
> >    from /Users/simon/.rvm/gems/ruby-1.9.3-p0@global/gems/bundler-1.0.21/
> > lib/bundler/runtime.rb:55:in `require'
> >    from /Users/simon/.rvm/gems/ruby-1.9.3-p0@global/gems/bundler-1.0.21/
> > lib/bundler.rb:122:in `require'
> >    from /Users/simon/default/config/boot.rb:20:in `<top (required)>'
> >    from /Users/simon/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/
> > rubygems/custom_require.rb:36:in `require'
> >    from /Users/simon/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/
> > rubygems/custom_require.rb:36:in `require'
> >    from script/rails:5:in `<main>'
>
> > All help greatly apprciated.
>
> > My boot.rb looks like this (in theory I need to uncomment a few more
> > lines to get Hot Potato to work):
>
> > require 'rubygems'
>
> > APP_PATH ||= File.expand_path('../..', __FILE__)
> > RACK_ENV ||= ENV['RACK_ENV'] || 'development'
>
> > # Set up gems listed in the Gemfile.
> > gemfile = File.expand_path('../../Gemfile', __FILE__)
> > begin
> >   ENV['BUNDLE_GEMFILE'] = gemfile
> >   require 'bundler'
> >   Bundler.setup
> >   Bundler.require(:default)
>
> > #  require File.expand_path('../routes',  __FILE__)
> > #  require File.expand_path("../environments/#{RACK_ENV}",  __FILE__)
> > #  Dir["#{File.expand_path('../../app',  __FILE__)}/*.rb"].each { |f|
> > require f }
> > rescue Bundler::GemNotFound => e
> >   STDERR.puts e.message
> >   STDERR.puts "Try running `bundle install`."
> >   exit!
> > end if File.exist?(gemfile)

-- 
You received this message because you are subscribed to the Google Groups 
"ActiveScaffold : Ruby on Rails plugin" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/activescaffold?hl=en.

Reply via email to