Forum: Ruby on Rails file_column 0.3.1 with SVN repository

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
648d60296e65a1278017c0b9f960ec3a?d=identicon&s=25 ol1barn3s (Guest)
on 2005-11-17 20:49
(Received via mailing list)
glad to be of help, thanks for the quick fix.

so, I installed this update and adapted the models and views
accordingly. When I try to render a view using the new
url_for_file_column

url_for_file_column("user", "photo", :magick => (:resize => "100x100"))

I get a "uninitialized constant Magick" error with the following trace:

(locomotive path)/lib/active_support/dependencies.rb:200:in
`const_missing'
#{RAILS_ROOT}/vendor/plugins/kyle/lib/file_column.rb:621:in
`file_column'



2005/11/17, Kyle Maxwell <kyle@kylemaxwell.com>:
648d60296e65a1278017c0b9f960ec3a?d=identicon&s=25 ol1barn3s (Guest)
on 2005-11-18 22:06
(Received via mailing list)
sorry to be a pest...
does this mean FileColumn isn't able to see my ImageMagick install?
4bd34a2216dc8bdbf1f017f64e4d59e8?d=identicon&s=25 kyle (Guest)
on 2005-11-19 09:31
(Received via mailing list)
I have a feeling that my merge with 0.3.1 stuff destabilized
something.  It's an experimental branch, you know :).  I'm currently
recovering from oral surgery, but I'll look into it next week.

Kyle
648d60296e65a1278017c0b9f960ec3a?d=identicon&s=25 ol1barn3s (Guest)
on 2005-11-19 13:27
(Received via mailing list)
I know! :)
and I appreciate you putting it out for us to experiment, didn't mean
to rush you on this. Hope you recover well from surgery, it doesn't
sound like very much fun.

for when you're better and get a chance to look at it:

I've been troubleshooting in a thread on textdrive
(http://forum.textdrive.com/viewtopic.php?id=7269), seems like the
multiple image processing done when saving the model using file_column
was taking a big chunk of memory each time, and after processing the
memory wouldn't be reallocated. people there referred to GC not
kicking in at the right time because of the way RMagick works
(http://rubyforge.org/forum/forum.php?thread_id=137... ).

So I figured since your branch didn't use RMagick, perhaps that would
end the problem.

thanks again,
Oliver

2005/11/19, Kyle Maxwell <kyle@kylemaxwell.com>:
This topic is locked and can not be replied to.