search for: file_column_help

Displaying 14 results from an estimated 14 matches for "file_column_help".

Did you mean: file_column_helper
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 wi...
2006 May 26
0
Accessing file_column_helper from withing controller
How did you fix this then?
2006 Jan 14
2
file_column, ActionMailer, and tests
...il.relative_url_root[1]). And I also don''t see how I can use url_for_file_column in my unit tests. Any ideas? Am I going about this completely wrong? Thanks, Joe [1] The error occured while evaluating nil.relative_url_root <snip> #{RAILS_ROOT}/vendor/plugins/file_column/lib/file_column_helper.rb:53:in `url_for_file_column'' #{RAILS_ROOT}/app/views/notifier_mailer/new_registration.rhtml:19
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/.
2007 Aug 18
1
problem with file_column url generator
...hwk.file_name), url_for_file_column(hwk, "file_name") %> 8: </p> 9: <% end %> 10: </div class="list"> RAILS_ROOT: script/../config/.. Application Trace | Framework Trace | Full Trace vendor/plugins/rails_file_column/plugins/file_column/branches/kyle/lib/ file_column_helper.rb:58:in `instance_variable_get'' vendor/plugins/rails_file_column/plugins/file_column/branches/kyle/lib/ file_column_helper.rb:58:in `url_for_file_column'' #{RAILS_ROOT}/app/views/homework/list.rhtml:7:in `_run_rhtml_47app47views47homework47list46rhtml'' #{RAILS_ROOT}/app...
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 May 15
4
Anyone got a copy of File_Column trunk
Anyone able to post a copy of the svn trunk of file_column? The website''s been down for the past few days, and I''ve only got the last release (0.31, I think), which is missing a whole load of goodies. Tx
2010 Mar 20
0
Problem with videos on heroku
...<% end %> 23: <%= file_column_field ''video'', ''video_file'' %> 24: &nbsp;&nbsp;&nbsp; #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/base.rb: 1792:in `method_missing'' #{RAILS_ROOT}/vendor/plugins/file_column/lib/file_column_helper.rb: 75:in `send'' #{RAILS_ROOT}/vendor/plugins/file_column/lib/file_column_helper.rb: 75:in `url_for_file_column'' #{RAILS_ROOT}/app/views/admin/videos/_form.rhtml:21:in `_run_rhtml_admin_videos__form'' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base...
2006 Jun 07
0
Problem with file_column plugin path and application_helper.rb
...version, options = {}) options = Hash.new if options.nil? options[:size] = object.dimensions_for(version) image_tag(url_for_image_column(object, method, version), options) end I added the following line to the top of application.rb: require "#{RAILS_ROOT}/vendor/plugins/file_column/lib/file_column_helper.rb" and now my application works. Anyone have any ideas why I had to do this on my production installation and not on the development installation?
2006 Jan 05
3
file_column url_for_file returns nil
Hi Guys, I have been struggling with this one for a while... file_column 0.3.1 My file gets uploaded and thumbnailed correctly, however <%= url_for_file_column("item", "image") %> returns nil... I have tracked the problem to line 60 in file_column_helper.rb but I cant figure out why my model would return nil in this case... -- Posted via http://www.ruby-forum.com/.
2006 Aug 04
1
file_column issues on dreamhost
...displayed I just got the filename instead. I though it might be a routing issue, so I tweaked the file_column.rb to: options[:store_dir] ||= File.join(options[:root_path], "/images", model, attr) This got the uploaded images storing into /public/images/user/...etc... I also changed file_column_helper.rb to: url << @request.relative_url_root.to_s << "/images/" That should accomidate for the display url pointing to the new location. When I look at the page source, i get: <img alt="P1010060_1" src="/images/user/pic/9/P1010060_1.jpg?1154702505" /&...
2006 Mar 20
1
FileColumn question
Can someone please help me with this. I have an Images table :- create table images ( id integer unsigned not null auto_increment primary key, image varchar(200) not null default '''' )ENGINE=InnoDB default CHARSET=latin1; And a car table :- create table cars ( id integer unsigned not null auto_increment primary key, user_id integer unsigned not null, title varchar(100) not
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