search for: image_relative_path

Displaying 3 results from an estimated 3 matches for "image_relative_path".

2006 Jan 12
0
[file_column] Problem displaying images after upload
This is the last major hurdle in my little app and I can''t seem to figure it out. I am using file_column to upload images. The upload (and rmajick goodness) works just fine, but when I try to display the resulting image I get this error: undefined method `image_relative_path'' for #<Array:0x252b694> In script/console I can do this however: Entry.find(:first).image_relative_path => "1/testpic.jpg" >> I think this might have todo with the way I am building @entry via a find_by_sql: def self.mine find_by_sql(&quot...
2006 Jan 12
1
methods for file_column
how do i find the available methods available to my objects in file_column ? I noticed that i can do @post.image_relative_path for my @post object to retreive the relative path. What are all the other options available to my objects thru file_column ? thanks adam
2006 Apr 22
1
using file_column
...id => form_id} %> so in my content partial I''m using local variables. Now if I just try to add <%= image_tag url_for_file_column("recipe", "image") %> I get You have a nil object when you didn''t expect it! The error occured while evaluating nil.image_relative_path I''ve tried a couple of simple ways to use an instance variable but it hasn''t worked properly... -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060422/6ce39d49/attachment.html