dwilkie/carrierwave_direct — Issue #10: stack level too deep
Author: nm
Created: 2012-01-07 11:02:02+00:00
State: open

When i include the carrierwave_direct gem I get the following error:

```ruby
stack level too deep
```
Full Trace

```ruby
carrierwave_direct (0.0.2) lib/carrierwave_direct/mount.rb:8
```
mount.rb

```ruby
uploader.class_eval <<-RUBY, __FILE__, __LINE__+1
def #{column}; self; end
RUBY
```

rails 3.1.0, ruby 1.9.2, carrierwave 0.5.8, carrierwave_direct 0.0.2

I'm using a standard uploader (as shown in the readme).

What am I doing wrong? Thanks in advance!