similar to: Anyone got a copy of File_Column trunk

Displaying 20 results from an estimated 200 matches similar to: "Anyone got a copy of File_Column trunk"

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 Jan 09
5
form with more than 1 file upload field saves 0 byte file for 1 file field
Im using the file_column plugin to upload files from my application. The problem I am encountering is that I have a form with 2 file upload fields and when I submnit that form with files selected, I would get a message from the browser(Firefox) saying that a script on the page is taking a long time to execute and whether I want to cancel it or continue. Whichever option I choose, only 1 file(PDF)
2006 Mar 02
2
url_for_file_column not returning correct path
I added this test towards the end of the included file_column_helper_test.rb that shipped 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},
2006 Mar 13
3
unit tests executed for every page load ?
After I installed the very sweet file_column plugin I get strange output on my html pages. At the very end I always get something like this: "Loaded suite dispatch.cgi Started Finished in 0.000218 seconds. 0 tests, 0 assertions, 0 failures, 0 errors " Seems like there is executed a non existent test suite for every page load. Can anybody help me find the lines that force this
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 Jan 13
1
Accessing file_column_helper from withing controller
Hi All, i have i niggly little showstopper -> I need to access file_column_helper from within the controller, as I need to include an image in my "pdf-write" code... Any sane way to do this? "Require ''rails_file_column''" still gives me an error: "undefined method `url_for_file_column''..." (I am using *svn* version with Rails 1.0)
2005 Aug 17
7
(newbie) #{method}_relative_path empty (file upload 0.1.2)
first off, thanks (a lot!) sebastian for creating this module... I''ve been spending a lot of time in getting file uploads to work. inside a project I''m working on, I''ve got two different models using it... with one of them it''s working just fine. with another, everything works, with the exception of the url_for_file_column helper, which shows
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 Jun 11
2
Problem with Acts_As_Attachment
Hi, I have installed the acts_as_authenticated plugin from technoweenie, but when I run the tests I get an error (running windoze) -- create_table(:attachments, {:force=>true}) c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'': no such file to load -- sqlite (MissingSourceFile) I found the require statement in test/abstract_unit.rb
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
2006 Jan 16
6
file_column plugin error
Hi, I downloaded FileColumn plugin and love the concept. But when I tried the example listed on the plugin web site, I got the following error: NoMethodError in Entry#new undefined method `file_column'' for Entry:Class My environement is Red Hat linux 9.0 with mysql 4.1. I installed file_column under vendor/plugins. If I run "ls", I get the following directories:
2006 Jan 14
2
file_column, ActionMailer, and tests
Hi, Say I have a model Event that has a file_column called ''pdf''. I want to send out emails that contain the URL for the pdf file that''s associated with the Event. I also want to test the emails, so I''d need to be able to get at the URL for the pdf inside my unit tests. I don''t see how I can use url_for_file_column in this situation. Doing <%=
2006 May 12
3
file_column error
Hmm, I''m using file_column and going by this tutorial, the files upload ok and I can see the fields updated in the database, but I am getting this error: "Trying to access file_column, but primary key got lost." Thanks in advance -- Posted via http://www.ruby-forum.com/.
2006 Jan 16
3
file_column error
Hi, Sebastian I downloaded FileColumn plugin and love the concept. But when I tried the example listed on the plugin web site, I got the following error: NoMethodError in Entry#new undefined method `file_column'' for Entry:Class My environement is Red Hat linux 9.0 with mysql 4.1. I installed file_column under vendor/plugins. If I run "ls", I get the following
2018 Nov 25
3
BUGS n code generated for target i386 compiling __bswapdi3, and for target x86-64 compiling __bswapsi2()
Hi @ll, targetting i386, LLVM/clang generates wrong code for the following functions: unsigned long __bswapsi2 (unsigned long ul) { return (((ul) & 0xff000000ul) >> 3 * 8) | (((ul) & 0x00ff0000ul) >> 8) | (((ul) & 0x0000ff00ul) << 8) | (((ul) & 0x000000fful) << 3 * 8); } unsigned long long __bswapdi2(unsigned long
2007 Aug 18
1
problem with file_column url generator
Hi, I have the following in a viewer Here, @lst = Homework.find(:all) is an array of homeworks. I checked this this is correct. Based on the error below, somehow, the url_for_file_colum does not like to act on the model element. I checked the source code to url_for_file_column, and the problem is with instance_variable_get(). I have no idea wat is going on! Any help is appreciated. Gordon.
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
2005 Dec 17
1
file_column url_for_file_column from within controler
Hello, i hope somebody can help me: How can i get the path/url for a file stored with file_column within any contoller? Is it somehow possible to use the url_for_file_column method from the file_column_helper.rb ? Greetings and thanx for any advise, Marc -- Posted via http://www.ruby-forum.com/.
2006 Aug 17
3
file_column plugin + rails 1.1.6
Hello, I need to install file_column plugin but I got an error message. This is the command I use: ./script/plugin install http://opensvn.csie.org/rails_file_column/plugins/file_column/trunk This is the error: Cannot find gem for Rails =1.1.4: Install the missing gem with ''gem install -v=1.1.4 rails'', or change environment.rb to define RAILS_GEM_VERSION with your
2006 May 07
1
file_column problem - uninitialized constant Magick
Hi, I''m on Windows and getting the following error while trying to use file_column with RMagick, uninitialized constant Magick C:/INSTAN~1.0/ruby/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:123:in `const_missing'' #{RAILS_ROOT}/vendor/plugins/file_column/branches/kyle/lib/file_column.rb:621:in `file_column'' I installed file_column by