Re: [Rails] Paperclip style not working with proc

2010-10-11 Thread radhames brito
Your main problem ( and i apologise since i havent have time do make the demo i promise you) is that you are fixed into doing this thing with processors which make everything more ortodox but also a bit harder, i for example do every with filters in my models and i just pass commands to the shell o

Re: [Rails] Paperclip style not working with proc

2010-10-11 Thread Walter Lee Davis
What are you trying to accomplish here? What do you want the form to send to Paperclip, or what do you want Paperclip to send to your model? Walter On Oct 7, 2010, at 3:16 AM, Christian Fazzini wrote: I have a stream_type field on my form. When the form submits, instance.stream_type is blank

[Rails] Paperclip style not working with proc

2010-10-07 Thread Christian Fazzini
I have a stream_type field on my form. When the form submits, instance.stream_type is blank. To verify this, in my custom processor (class ProcessAudio < Processor), I do puts options[:geometry]. has_attached_file :media, :styles => { :original => Proc.new { |instance| instan