From zach.dennis at gmail.com Mon Jun 2 02:20:14 2008 From: zach.dennis at gmail.com (Zach Dennis) Date: Mon, 2 Jun 2008 02:20:14 -0400 Subject: [Cells-talk] Rails 2.1? Message-ID: <85d99afe0806012320u51c9e026x2f00f50fc9b3779@mail.gmail.com> Whats the lifeblood of this plugin like? Is it under active development? -- Zach Dennis http://www.continuousthinking.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From apotonick at gmail.com Tue Jun 3 02:48:52 2008 From: apotonick at gmail.com (Nick Sutterer) Date: Tue, 3 Jun 2008 08:48:52 +0200 Subject: [Cells-talk] Rails 2.1? In-Reply-To: <85d99afe0806012320u51c9e026x2f00f50fc9b3779@mail.gmail.com> References: <85d99afe0806012320u51c9e026x2f00f50fc9b3779@mail.gmail.com> Message-ID: hey zach! > Whats the lifeblood of this plugin like? Is it under active development? > sure it is! anyway, we're having trouble getting out a rails 2.* version. just talked to lance ivy, who ported cells as "Components" to rails 2. as soon as i had a look at it we can decide which steps make sense in the near future. did you try cells with rails 2.1? cheers, nick -- > Zach Dennis > http://www.continuousthinking.com > _______________________________________________ > Cells-talk mailing list > Cells-talk at rubyforge.org > http://rubyforge.org/mailman/listinfo/cells-talk > > From stijn.pint at gmail.com Tue Jun 3 10:15:19 2008 From: stijn.pint at gmail.com (Stijn Pint) Date: Tue, 3 Jun 2008 16:15:19 +0200 Subject: [Cells-talk] undefined local variable or method 'logger' Message-ID: <7b204d720806030715m2bce7263o5255b2e96450c904@mail.gmail.com> Hello, I tried the trunk version of cells so I could remove the engines dependency, but ran into the following error : ActionView::TemplateError (undefined local variable or method `logger' for InTransitFilesCell:Class) on line #57 of app/views/ato_entities/index.rhtml: 56: 57: <%= render_cell :in_transit_files, :list %> 58: vendor/rails/actionpack/lib/action_controller/helpers.rb:114:in `default_helper_module!' vendor/rails/actionpack/lib/action_controller/helpers.rb:124:in `send' vendor/rails/actionpack/lib/action_controller/helpers.rb:124:in `inherited' app/cells/in_transit_files_cell.rb:1 vendor/rails/activesupport/lib/active_support/dependencies.rb:203:in `load_without_new_constant_marking' vendor/rails/activesupport/lib/active_support/dependencies.rb:203:in `load_file' vendor/rails/activesupport/lib/active_support/dependencies.rb:342:in `new_constants_in' vendor/rails/activesupport/lib/active_support/dependencies.rb:202:in `load_file' vendor/rails/activesupport/lib/active_support/dependencies.rb:94:in `require_or_load' vendor/rails/activesupport/lib/active_support/dependencies.rb:248:in `load_missing_constant' vendor/rails/activesupport/lib/active_support/dependencies.rb:452:in `const_missing' vendor/rails/activesupport/lib/active_support/dependencies.rb:464:in `const_missing' vendor/rails/activesupport/lib/active_support/inflector.rb:250:in `constantize' vendor/rails/activesupport/lib/active_support/core_ext/string/inflections.rb:148:in `constantize' vendor/plugins/cells/lib/cell.rb:274:in `class_from_cell_name' vendor/plugins/cells/lib/cell/factory.rb:8:in `create' vendor/plugins/cells/lib/action_view_extensions.rb:33:in `render_cell' #{RAILS_ROOT}/app/views/ato_entities/index.rhtml:57:in `_run_rhtml_47app47views47ato_entities47index46rhtml' I'm using Rails 1.2.3 I solved the issue for me by putting this in environment.rb : class Module def logger RAILS_DEFAULT_LOGGER end end It's a great plugin, thank you for your efforts ! Regards, Stijn http://www.xaop.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From zach.dennis at gmail.com Tue Jun 3 11:27:31 2008 From: zach.dennis at gmail.com (Zach Dennis) Date: Tue, 3 Jun 2008 11:27:31 -0400 Subject: [Cells-talk] Rails 2.1? In-Reply-To: References: <85d99afe0806012320u51c9e026x2f00f50fc9b3779@mail.gmail.com> Message-ID: <85d99afe0806030827q4785f91ane7f92ec3b56b2add@mail.gmail.com> On Tue, Jun 3, 2008 at 2:48 AM, Nick Sutterer wrote: > hey zach! > > > Whats the lifeblood of this plugin like? Is it under active development? > > > sure it is! good to hear! > anyway, we're having trouble getting out a rails 2.* > version. just talked to lance ivy, who ported cells as "Components" to > rails 2. as soon as i had a look at it we can decide which steps make > sense in the near future. > > did you try cells with rails 2.1? > Yes and no. I have it installed, but all of the tests fail. On the plane ride home from RailsConf I was fixing the tests and making minor implementation changes for it to work with the latest Engines and Rails 2.1 because I really want to use cells. Are you wanting keep cells having a Engines dependency, or to remove the Engines dependency? I am using cells from svn/trunk. Is that the official cells repository or has it been moved to github? Thanks, Zach > > -- > > Zach Dennis > > http://www.continuousthinking.com > > _______________________________________________ > > Cells-talk mailing list > > Cells-talk at rubyforge.org > > http://rubyforge.org/mailman/listinfo/cells-talk > > > > > _______________________________________________ > Cells-talk mailing list > Cells-talk at rubyforge.org > http://rubyforge.org/mailman/listinfo/cells-talk > -- Zach Dennis http://www.continuousthinking.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From apotonick at gmail.com Wed Jun 4 06:40:06 2008 From: apotonick at gmail.com (Nick Sutterer) Date: Wed, 4 Jun 2008 12:40:06 +0200 Subject: [Cells-talk] Rails 2.1? In-Reply-To: <85d99afe0806030827q4785f91ane7f92ec3b56b2add@mail.gmail.com> References: <85d99afe0806012320u51c9e026x2f00f50fc9b3779@mail.gmail.com> <85d99afe0806030827q4785f91ane7f92ec3b56b2add@mail.gmail.com> Message-ID: yo zach! >> did you try cells with rails 2.1? > > Yes and no. I have it installed, but all of the tests fail. On the plane > ride home from RailsConf I was fixing the tests and making minor > implementation changes for it to work with the latest Engines and Rails 2.1 > because I really want to use cells. > Are you wanting keep cells having a Engines dependency, or to remove the > Engines dependency? I am using cells from svn/trunk. Is that the official > cells repository or has it been moved to github? > i want to have optional engines support, since engines are a great thing in my opinion*. do you think it's unnecessary? send me your code, so i (we?) finally can make cells work with rails 2.1. another thing is, that a lot of code, especially the template finding methods, became superfluous with rails 2. i didn't dive into rails2 yet, but as i said, lance did and we definitly can share code. rubyforge svn still is the official repository - if it changes i will announce it on the website. looking forward to hear from you, cheers, nick * http://www.infoq.com/news/2008/05/cells-components-for-rails From dave at rapin.com Thu Jun 12 11:07:34 2008 From: dave at rapin.com (Dave Rapin) Date: Thu, 12 Jun 2008 11:07:34 -0400 Subject: [Cells-talk] Rails 2.1 Compatibility Message-ID: <3797f9450806120807i7c46449cr3d119325257de4ee@mail.gmail.com> Heads up that ActionView::Base has changed with 2.1. There's no longer a full_template_path method, being replaced by instance method @finder.pick_template. See: http://groups.google.ca/group/rubyonrails-talk/browse_thread/thread/4fd1461f78b7593e -------------- next part -------------- An HTML attachment was scrubbed... URL: