Re: active_scaffold_sortable in Rails 2.3

2009-05-23 Thread Ed W

LFung wrote:
 Hi,

 Has anyone been able to use active_scaffold_sortable in Rails 2.3?
   

Instead of making us guess, can you perhaps confirm you are getting a 
similar problem to the one I reported in the email directly a few hours 
before yours?

Failing that describe the problem...

I'm wondering if this is a plugin evaluation order thing, or something 
to do with lazy loading of plugins?  (Is there such a thing in rails 2.3?)

Ed W

--~--~-~--~~~---~--~~
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 activescaffold@googlegroups.com
To unsubscribe from this group, send email to 
activescaffold+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/activescaffold?hl=en
-~--~~~~--~~--~--~---



Re: active_scaffold_sortable in Rails 2.3

2009-05-23 Thread Miguel Fung
It's not the same problem you report.

Actually, I'm trying to use active_scaffold_sortable_subform instead of
active_scaffold_sortable because in git appears a branch for Rails 2.3. I
also patch AS as the author post in this list to generate form_helpers. But
unfortunately it has the same problem, no drag able button appears.

I wrote the author of active_scaffold_sortable_subform asking any advice.
I'll try to figure out what problem is and post it here.

LFung

On Sat, May 23, 2009 at 3:11 AM, Ed W li...@wildgooses.com wrote:


 LFung wrote:
  Hi,
 
  Has anyone been able to use active_scaffold_sortable in Rails 2.3?
 

 Instead of making us guess, can you perhaps confirm you are getting a
 similar problem to the one I reported in the email directly a few hours
 before yours?

 Failing that describe the problem...

 I'm wondering if this is a plugin evaluation order thing, or something
 to do with lazy loading of plugins?  (Is there such a thing in rails 2.3?)

 Ed W

 


--~--~-~--~~~---~--~~
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 activescaffold@googlegroups.com
To unsubscribe from this group, send email to 
activescaffold+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/activescaffold?hl=en
-~--~~~~--~~--~--~---



Re: AS for Rails 2.3?

2009-02-26 Thread Benjamín Cárdenas Salamandra

Hola,

sorry, the complete error was:

C:/downloads/desarrollo/ruby/jruby/jruby-1.2.0RC1/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/benchmarking.rb:51:in
 
`render_with_benchmark'
C:/downloads/desarrollo/ruby/jruby/jruby-1.2.0RC1/lib/ruby/gems/1.8/gems/activesupport-2.3.0/lib/active_support/core_ext/benchmark.rb:17:in
 
`ms'
C:/downloads/desarrollo/ruby/jruby/jruby-1.2.0RC1/lib/ruby/gems/1.8/gems/activesupport-2.3.0/lib/active_support/core_ext/benchmark.rb:10:in
 
`realtime'
C:/downloads/desarrollo/ruby/jruby/jruby-1.2.0RC1/lib/ruby/gems/1.8/gems/activesupport-2.3.0/lib/active_support/core_ext/benchmark.rb:17:in
 
`ms'
C:/downloads/desarrollo/ruby/jruby/jruby-1.2.0RC1/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/benchmarking.rb:51:in
 
`render_with_benchmark'
C:/lito_ware4/vendor/plugins/active_scaffold12/lib/extensions/action_controller_rendering.rb:13:in
 
`render_with_active_scaffold'
C:/lito_ware4/vendor/plugins/active_scaffold12/lib/active_scaffold/actions/list.rb:41:in
 
`list'
C:/downloads/desarrollo/ruby/jruby/jruby-1.2.0RC1/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/mime_responds.rb:135:in
 
`call'
C:/downloads/desarrollo/ruby/jruby/jruby-1.2.0RC1/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/mime_responds.rb:135:in
 
`custom'
C:/downloads/desarrollo/ruby/jruby/jruby-1.2.0RC1/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/mime_responds.rb:179:in
 
`call'
C:/downloads/desarrollo/ruby/jruby/jruby-1.2.0RC1/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/mime_responds.rb:179:in
 
`respond'
C:/downloads/desarrollo/ruby/jruby/jruby-1.2.0RC1/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/mime_responds.rb:173:in
 
`each'
C:/downloads/desarrollo/ruby/jruby/jruby-1.2.0RC1/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/mime_responds.rb:173:in
 
`respond'
C:/downloads/desarrollo/ruby/jruby/jruby-1.2.0RC1/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/mime_responds.rb:107:in
 
`respond_to'
C:/lito_ware4/vendor/plugins/active_scaffold12/lib/active_scaffold/actions/list.rb:37:in
 
`list'
C:/lito_ware4/vendor/plugins/active_scaffold12/lib/active_scaffold/actions/list.rb:8:in
 
`index'
C:/downloads/desarrollo/ruby/jruby/jruby-1.2.0RC1/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/base.rb:1261:in
 
`perform_action'
C:/downloads/desarrollo/ruby/jruby/jruby-1.2.0RC1/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/filters.rb:617:in
 
`call_filters'
C:/downloads/desarrollo/ruby/jruby/jruby-1.2.0RC1/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/filters.rb:610:in
 
`perform_action_with_filters'
C:/downloads/desarrollo/ruby/jruby/jruby-1.2.0RC1/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/benchmarking.rb:68:in
 
`perform_action_with_benchmark'
C:/downloads/desarrollo/ruby/jruby/jruby-1.2.0RC1/lib/ruby/gems/1.8/gems/activesupport-2.3.0/lib/active_support/core_ext/benchmark.rb:17:in
 
`ms'
C:/downloads/desarrollo/ruby/jruby/jruby-1.2.0RC1/lib/ruby/gems/1.8/gems/activesupport-2.3.0/lib/active_support/core_ext/benchmark.rb:10:in
 
`realtime'
C:/downloads/desarrollo/ruby/jruby/jruby-1.2.0RC1/lib/ruby/gems/1.8/gems/activesupport-2.3.0/lib/active_support/core_ext/benchmark.rb:17:in
 
`ms'
C:/downloads/desarrollo/ruby/jruby/jruby-1.2.0RC1/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/benchmarking.rb:68:in
 
`perform_action_with_benchmark'
C:/downloads/desarrollo/ruby/jruby/jruby-1.2.0RC1/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/rescue.rb:154:in
 
`perform_action_with_rescue'
C:/downloads/desarrollo/ruby/jruby/jruby-1.2.0RC1/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/flash.rb:141:in
 
`perform_action_with_flash'
C:/downloads/desarrollo/ruby/jruby/jruby-1.2.0RC1/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/base.rb:523:in
 
`process'
C:/downloads/desarrollo/ruby/jruby/jruby-1.2.0RC1/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/filters.rb:606:in
 
`process_with_filters'
C:/downloads/desarrollo/ruby/jruby/jruby-1.2.0RC1/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/base.rb:391:in
 
`process'
C:/downloads/desarrollo/ruby/jruby/jruby-1.2.0RC1/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/base.rb:386:in
 
`call'
C:/downloads/desarrollo/ruby/jruby/jruby-1.2.0RC1/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/routing/route_set.rb:433:in
 
`call'

Benjamín



--~--~-~--~~~---~--~~
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 activescaffold@googlegroups.com
To unsubscribe from this group, send email to 
activescaffold+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/activescaffold?hl=en

Re: AS for Rails 2.3?

2009-02-25 Thread Sergio Cambra .:: entreCables - Symbol Servicios Informáticos S.L. ::.

El Tuesday 24 February 2009 17:30:21 Wes Gamble escribió:
 Sergio Cambra .:: entreCables - Symbol Servicios Informáticos S.L. ::.

 wrote:
  Master branch works with rails 2.3, rails-2.2 branch only with rails 2.2
  You need render_component plugin to use embedded and nested scaffolds in
  rails 2.3

 When I add the render_component plugin to my project (via Github), I get
 the following error when I start the server.

 /Applications/jruby-1.1.6/lib/ruby/gems/1.8/gems/activesupport-2.3.0/lib/ac
tive_support/core_ext/module/aliasing.rb:29:in `alias_method_chain':
 undefined method `set_session_options' for class `ActionController::Base'
 (NameError)

 Does render_component have any dependencies?

Nested scaffolds are lists you get for plural associations (has_many, habtm)
Subforms are fields you get in create and update forms for associations.

render_component is needed to use render :active_scaffold, which is used in 
nested scaffolds, and you can use to embed active scaffold in your views.

-- 
Sergio Cambra .:: entreCables S.L. ::.
Nicolás Guillén 6, locales 2 y 3. 50.018 Zaragoza
T) 902 021 404 F) 976 52 98 07 E) ser...@entrecables.com

--~--~-~--~~~---~--~~
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 activescaffold@googlegroups.com
To unsubscribe from this group, send email to 
activescaffold+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/activescaffold?hl=en
-~--~~~~--~~--~--~---



Re: AS for Rails 2.3?

2009-02-25 Thread Sergio Cambra .:: entreCables - Symbol Servicios Informáticos S.L. ::.

El Tuesday 24 February 2009 17:30:21 Wes Gamble escribió:
 Sergio Cambra .:: entreCables - Symbol Servicios Informáticos S.L. ::.

 wrote:
  Master branch works with rails 2.3, rails-2.2 branch only with rails 2.2
  You need render_component plugin to use embedded and nested scaffolds in
  rails 2.3

 When I add the render_component plugin to my project (via Github), I get
 the following error when I start the server.

 /Applications/jruby-1.1.6/lib/ruby/gems/1.8/gems/activesupport-2.3.0/lib/ac
tive_support/core_ext/module/aliasing.rb:29:in `alias_method_chain':
 undefined method `set_session_options' for class `ActionController::Base'
 (NameError)

 Does render_component have any dependencies?

I forgot to say, you must use rails-edge branch from lackac repository:
http://github.com/lackac/render_component/tree/master
It has some fixes for rails 2.3

-- 
Sergio Cambra .:: entreCables S.L. ::.
Nicolás Guillén 6, locales 2 y 3. 50.018 Zaragoza
T) 902 021 404 F) 976 52 98 07 E) ser...@entrecables.com

--~--~-~--~~~---~--~~
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 activescaffold@googlegroups.com
To unsubscribe from this group, send email to 
activescaffold+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/activescaffold?hl=en
-~--~~~~--~~--~--~---



Re: AS for Rails 2.3?

2009-02-24 Thread Sergio Cambra .:: entreCables - Symbol Servicios Informáticos S.L. ::.

El Tuesday 24 February 2009 04:19:49 Wes Gamble escribió:
 Is the latest v. of AS in github good for Rails 2.3?

 I should have been following more closely, sorry.

 If there isn't a version that's good for 2.3, which one is good for 2.2?

 Thanks,
 Wes Gamble

Master branch works with rails 2.3, rails-2.2 branch only with rails 2.2
You need render_component plugin to use embedded and nested scaffolds in rails 
2.3


-- 
Sergio Cambra .:: entreCables S.L. ::.
Nicolás Guillén 6, locales 2 y 3. 50.018 Zaragoza
T) 902 021 404 F) 976 52 98 07 E) ser...@entrecables.com

--~--~-~--~~~---~--~~
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 activescaffold@googlegroups.com
To unsubscribe from this group, send email to 
activescaffold+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/activescaffold?hl=en
-~--~~~~--~~--~--~---



Re: AS for Rails 2.3?

2009-02-24 Thread Wes Gamble

Sergio Cambra .:: entreCables - Symbol Servicios Informáticos S.L. ::. 
wrote:

 Master branch works with rails 2.3, rails-2.2 branch only with rails 2.2
 You need render_component plugin to use embedded and nested scaffolds in 
 rails 
 2.3

   
When I add the render_component plugin to my project (via Github), I get 
the following error when I start the server.

/Applications/jruby-1.1.6/lib/ruby/gems/1.8/gems/activesupport-2.3.0/lib/active_support/core_ext/module/aliasing.rb:29:in
 
`alias_method_chain': undefined method `set_session_options' for class 
`ActionController::Base' (NameError)

Does render_component have any dependencies?

Thanks,
Wes


--~--~-~--~~~---~--~~
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 activescaffold@googlegroups.com
To unsubscribe from this group, send email to 
activescaffold+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/activescaffold?hl=en
-~--~~~~--~~--~--~---



Re: AS for Rails 2.3?

2009-02-24 Thread BillSaysThis

I could really use an answer to this--I wish I had the skills to find
it myself.
--~--~-~--~~~---~--~~
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 activescaffold@googlegroups.com
To unsubscribe from this group, send email to 
activescaffold+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/activescaffold?hl=en
-~--~~~~--~~--~--~---