apotonick/cells — Issue #106: render_cell_for ArgumentError
Author: kris
Created: 2012-02-17 20:58:44+00:00
State: open

Hi,

Using Ruby 1.9.2, Rails 3.1.3, and Cells via GitHub source.

Error:

> ArgumentError (wrong number of arguments (0 for 1)): config/routes.rb:8:in `block (2 levels) in '

Code:

```ruby
post 'newsletter/signup' => Proc.new { |env|
[200, {}, [Cell::Base.render_cell_for(:newsletter, :signup)]]
}
```

Based on closed tickets, this appeared to be an existing bug that was solved, but not on my end. Any input?

Thanks