stack level too deep
nm opened this issue · 1 comments
nm commented
When i include the carrierwave_direct gem I get the following error:
stack level too deep
Full Trace
carrierwave_direct (0.0.2) lib/carrierwave_direct/mount.rb:8
mount.rb
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!
nm commented
Solved it!
Don't name your string column "file". It works with carrierwave only, but with carrierwave_direct it results in a stack level error.