Displaying 4 results from an estimated 4 matches for "image_opt".
Did you mean:
image_ocr
2006 Mar 02
2
url_for_file_column not returning correct path
...ipped with the file_column plugin:
def test_url_for_file_column_different_root_path
Entry.file_column :image, :root_path => File.join(RAILS_ROOT,
"public/files")
e = Entry.new(:image => upload(f("skanthak.png")))
assert_match %r{/public/files/entry/image}, e.image_options[:store_dir]
assert e.save
assert_match %r{files/entry/image}, url_for_file_column(e, "image")
end
the last assert_match did not pass...
1) Failure:
test_url_for_file_column_different_root_path(UrlForFileColumnTest)
[file_column_helper_test.rb:59]:
<"/entry/image/...
2006 Jan 19
0
file_column error: tmp file created but not actual
...ype.jpg", @attr="image",
@tmp_dir="1137655234.461399.9849",
@instance=#<Wallpaper:0x40a37d24 ...>,
@magick_errors=["invalid image"],
@dir="script/../config/../public/wallpaper/image/tmp/1137655234.461399.9849",
@just_uploaded=true, @options_method=:image_options>,
@attributes={"downloads"=>"0", "date_created"=>"Wed
Jan 18 23:20:12 PST 2006", "date_available"=>Wed Jan
18 23:20:00 PST 2006, "price"=>"0.0", "title"=>"test
logger4", "type"=...
2006 Mar 02
17
can''t get rails to connect to mySQL - HELP!!!!!!!!!
Sorry, but this is really NOT as easy as the tutorials/books make out.
I''m really struggling at the first hurdle here. And while I''m not a
programmer by design I do know my way around most stuff. And if I can''t
get this to work I suspect more people will have the same issues. There
seems to be too many variables to address.
I have winXP, I have ruby and rails all
2008 May 16
0
attachment_fu and/or rmagick on osx -- weird error
...See the stack trace below. Any suggestions?
Btw, the code that''s blowing up is retrieving the attachment_fu info.
The presence of image_science in the stack trace also worries me...
Thanks!
--- cut here ---
Errno::ENOENT in Personal_pages#your_locker_door
Showing personal_pages/_image_option.html.erb where line #1 raised:
No such file or directory - "/Users/philsmy"
Extracted source (around line #1):
1: <% if image_option.image_metadata %>
2: <li>
3: <% if defined? repeat %>
4: <a href="javascript:void(0);"
Trace of template i...