Displaying 3 results from an estimated 3 matches for "urlforfilecolumntest".
2006 Mar 02
2
url_for_file_column not returning correct path
...nthak.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/1/skanthak.png"> expected to be =~
</files\/entry\/image/>.
The file is correctly stored in the :root_path specified. It''s as if
url_for_file_column doesn''t take it into account. Has anyone else
experienced th...
2006 Aug 05
4
file_column just will not work...
Hello,
I have been trying for some time to get a file to upload using the
file_column plugin.
My code is here: http://pastie.caboo.se/7304
But my code is not the issue. I cannot even pass the unit test that
come with the file_column plugin.
If I run ruby file_column_test.rb i get:
1) Error:
test_store_dir_callback(FileColumnTest):
TypeError: can''t convert Fixnum into String
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