similar to: file_column :: changing image with object.update

Displaying 20 results from an estimated 2000 matches similar to: "file_column :: changing image with object.update"

2006 Feb 13
3
file_column: uninitialized constant Magick
I am getting this following error when using file_column with RMagick: uninitialized constant Magick /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/ active_support/dependencies.rb:200:in `const_missing'' ./script/../config/../vendor/plugins/rails_file_column/plugins/ file_column/branches/kyle/lib/file_column.rb:621:in `file_column''
2006 Apr 23
3
Does AJAX form_remote_tag remove "\r\n"?
When I submit textarea with "\r\n" inside its content, all the "\r\n" are gone at the receiving end? Is there a known behavior I should be aware off? Or should I start looking some where else. Thank you, Sharkie
2006 Mar 24
3
Performance slow down with increasing log files size?
Dear all, I have been noticing this. Whenever I delete my log files and restart lighttpd, my rail site runs very fast. However when my log files become large, my rail site becomes slower. Then I repeat the process of deleting log files again, and my site is fast again. Is this a normal behavior? Is there something I can do to make performance scale better? Thank you, Sharkie
2006 Mar 04
13
file_column
Restricting size of an uploaded file, is how is that possible? If I do not want a user to upload a file larger than X bytes, can it easily be done? If I also would like restrict the types of files that can be uploaded, how may I do so? Thank you, Sharkie
2006 May 30
2
Strange error
I have been getting the following error everyonce in a while. Can someone please suggest what could be going wrong with my system? It happens about once every 3 weeks. I resolve this by rebooting my server, although I never tried to figure out what is the real problem. Sharkie 2006-05-30 16:53:49: (mod_fastcgi.c.1561) connect failed: 386 Connection refused 111 0 /tmp/site.fcgi.socket-2
2006 Jan 03
3
file_column howto (beginner)
I''m trying to use file_column as a Rails plugin. Of course I read the doc (from Sebastian, this maillist) and little bit of source (as good as I, newbie, could understand it).. But I''m not able to implement it in my app.. I''m a totally newbie with less software development experience. I get the file_column_field in my view with simply invoking the helper... (:multipart
2006 Jan 22
2
File_column not keeping value during page reloads
I''m trying to use the file_column plug-in to attach a file to a newsletter posting. It works fine if I get the form right the first time, but if I get an error, such as not typing in a required field, and the form re-displays, my file selection box reverts to "no file selected." Here''s my relevant controller code: def new @newsletterpost = Newsletterpost.new
2006 May 28
4
File_column trouble, advice needed
Finally i have RMagick and the file_column plugin installed, but at the time of uploading images i have trouble, i get "uninitialized constant ArtImage" error and other errors, im following the instructions on http://wiki.rubyonrails.com/rails/pages/HowToUseFileColumn but doesnt seems to work, this its the code im using: #----view <%=
2006 May 02
3
file_column : _temp field always nil
Hi, I''m trying to set up file_column to upload attachments for emails. My view has <td align="left"><%= file_column_field ''to_do'', ''attachment'' %></td> and the attachment_temp hidden field is generated. When I inspect tthe params on saving the form the attachment_temp param is always an empty string. Also, when I was
2006 Apr 25
7
[TIPS] File_column plugin and multiple file uploads
No..i am not a full time rails developer...i code in pl/sql for paying my bills...and i am just working on a pet project...so i had some trouble in doing..what i specify in the subject.....now somehow i solved this problem...so those interested can look at the code at: http://hemant.wordpress.com/2006/04/25/file_column-and-how-the-fuck-it-handles-multiple-files/ I write this mail and
2006 Apr 08
5
file_column
hello, how to generate new image if i do add new version? For example, I add version :small => { :size => "320x240" } . How to tell file_column to generate new image version if image is allready uploaded ? Thank you! -- Posted via http://www.ruby-forum.com/.
2006 Jan 12
5
file_column preview in multistage forms
i have a 2 step form which contains 1 file_column field. The second form is just "This is how your post will look" kind of form and the user can click Edit (to take them back to form1) or Submit. If the user clicks edit it takes them back to the first form with fields populated. I have it working with all text fields, I just dont know how to do this with file_column field (showing the
2006 Aug 13
5
problems with file_column plugin
1) installation is not as smooth as some other plug-ins. If you follow the instructions on http://www.kanthak.net/opensource/file_column/ it makes a directory called trunk instead of file_column. You have to manually rename it to file_column. I guess this is a minor annoyance but it gives me the feeling that things aren''t quite like other plugins. 2) I get this error: undefined
2006 Apr 28
2
file_column with polymorphic table relationship?
Hello, I''m just starting out with both Rails and Ruby, so I hope this isn''t too simple of a question - but I''ve been struggling to find a solution. I''m using the file_column plugin to handle image uploads and thumbnail generation. In addition, I''ve wrapped the image into a polymorphic table so I can have uploaded images associated with multiple
2006 Dec 17
1
file_column error: StringIO Instead of Temp_File
Hi all, i am using file_column to upload 3 images from the same form, they are all different names and DOM IDs so there isn''t a problem with the multiple upload. The problem is when i try to upload a file (or 2, or 3) sometimes it works, but sometimes i get this in the log file: "bar_image"=>{"file_temp"=>"",
2006 Jul 14
5
file_column and has_many
I''ve been fighting with myself over this for the past week, and would like to hear some others'' thoughts on the subject. I essentially have the following models in place: class Item < ActiveRecord::Base has_many :images end class Image < ActiveRecord::Base belongs_to :item file_column :filename end In my view, I have javascript that basically creates N
2006 Jan 09
5
file_column content type
is there a way using the file_column plugin to enforce a certain content type based on regex (i.ie, /^image/) and/or filesize (150k) ? thanks adam
2006 Apr 27
3
LoginEngine File_column interop
-----BEGIN PGP SIGNED MESSAGE----- Hash: RIPEMD160 Hello all, I hope someone can help me with this issue, I have the SVN file_column and using LoginEngine/UserEngine with Rails 1.1.2. My issue is that I''m overloading the view for LoginEngine to support a file image upload as part of the user record and having a heck of a time doing so. Near the bottom of my new _edit.rhtml
2006 Mar 10
0
file_column: post processing to add or delete thumbnail sizes
Dear all, I have been using file_column for sometime now, and have several pictures which have all been uploaded by file_column. Now, I would like to add more thumbnail sizes for various different purposes -- and perhaps to even delete the sizes I no longer use. Is there a way to do this using file_column automatically? Or can someone please point me out to a script or a hint on writing
2006 May 30
3
plz help ~> new to file_column
i am trying to figure out how file column works so i can play with it a little bit on my site. i have installed it as a plugin to my rails application, copied the snippets on both model and view but when i try to run the page, i get an error saying "undefined method `file_column_field''" did i do something wrong or is something not installed? -- Posted via