search for: render_fil

Displaying 20 results from an estimated 91 matches for "render_fil".

Did you mean: render_file
2008 Dec 17
9
Rails 2.2.2 and globalize - undefined method `render_file' for class `ActionView::Base' (NameError)
...:3003 => Call with -d to detach => Ctrl-C to shutdown server ** Starting Mongrel listening at 0.0.0.0:3003 ** Starting Rails with development environment... D:/projects/passdate2009/src/vendor/rails/activesupport/lib/ active_support/dependencies.rb:159:in `require'': undefined method `render_file'' for class `ActionView::Base'' (NameError) Exiting from D:/projects/passdate2009/src/vendor/rails/railties/lib/ commands/server.rb:49 from D:/projects/passdate2009/src/vendor/rails/railties/lib/ commands/server.rb:27:in `require'' from D:/NetBeans/r...
2006 May 26
1
render_file works, render :file doesn''t
I have these two bits of code: <%= render_file @item.path, false %> <%= render :file => @item.path, :layout => false %> The first line works, the second doesn''t (results in a blank page - nothing in the logs either). Any idea what the problem is? Joe -- Posted via http://www.ruby-forum.com/.
2008 Dec 08
2
undefined method 'render_file' for class 'ActionView::Base'
I need some help with SimpleLog I have SimpleLog running at HostingRails. I want to develope and test new themes stuff on my local system. I getting the error from actionview_ex.rb:12 undefined method ''render_file'' for class ''ActionView::Base'' I am at: Ruby: 1.8.6 Rails 2.2.2 gem: 1.3.1 rake: 0.8.3 I am a new rails/merb/ruby developer. I think I am on the wrong version of ActionView . Need to freeze at some version but cannot find what.... OR maybe something else is wrong TIA....
2006 Jul 14
7
Using ActionView free style
ActionView is a very useful class, in its own right. But, calling it by itself causes a weird crash, exiting Ruby, without even raising an exception! ruby script/runner "begin; av = ActionView::Base.new; av.render(:inline => ''Hi!''); rescue => e; puts e; end" just crashes Ruby. Same with render(:file => ''template.rhtml'') Why is this?
2007 Jul 06
3
stubbing helper methods for View specs
...n_view/base.rb:502:in `delegate_render'' vendor/rails/actionpack/lib/action_view/base.rb:324:in `render_template_old'' vendor/plugins/haml/lib/haml/template.rb:96:in `render_template'' vendor/rails/actionpack/lib/action_view/base.rb:286:in `globalize_old_render_file'' vendor/plugins/trunk/lib/globalize/rails/action_view.rb:20:in `render_file'' vendor/rails/actionpack/lib/action_controller/base.rb:879:in `render_file'' vendor/rails/actionpack/lib/action_controller/base.rb:814:in `render_with_no_layout''...
2007 May 28
1
Rails matcher render_template is wrong when using GetText, looking for flexible solution
...ng /samples should render index'' FAILED expected "index", got "index_en" When I run the application, the template index.rhtml do get rendered (I don''t have any "index_en.rhtml"). The source of this mismatch is that GetText overrides ActionView::Base.render_file, testing each possible localized template path and passes the first existing path to the original render_file method : return render_file_without_locale(localized_path, use_full_path, local_assigns) if file_exists? localized_path This line always evaluates to true in RSpec context, but to false...
2004 Nov 20
0
Stack level too deep on Cygwin and on Debian / Colinux with 0.5.0 - 0.8.5 Beta gems
...npack-0.9.5/lib/action_view/helpers/form_helper.rb:100:in `check_box'' (erb):1:in `render_template'' /usr/lib/ruby/gems/1.8/gems/actionpack-0.9.5/lib/action_view/base.rb:201:in `render_template'' /usr/lib/ruby/gems/1.8/gems/actionpack-0.9.5/lib/action_view/base.rb:176:in `render_file'' /usr/lib/ruby/gems/1.8/gems/actionpack-0.9.5/lib/action_controller/base.rb:369:in `render_file'' /usr/lib/ruby/gems/1.8/gems/actionpack-0.9.5/lib/action_controller/base.rb:351:in `render_without_layout'' /usr/lib/ruby/gems/1.8/gems/actionpack-0.9.5/lib/action_controller...
2006 Aug 04
8
Unable to follow basic RoR tutorial (Win32)
.../lib/ruby/gems/1.8/gems/actionpack-1.12.3/lib/action_view/base.rb:314:in `compile_and_render_template'' c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.3/lib/action_view/base.rb:290:in `render_template'' c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.3/lib/action_view/base.rb:249:in `render_file'' c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.3/lib/action_controller/base.rb:699:in `render_file'' c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.3/lib/action_controller/base.rb:621:in `render_with_no_layout'' c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.3/lib/action_...
2005 Oct 13
1
Typo Error: wrong number of arguments (1 for 2)
Howdy, I am trying to run the latest version of Typo and when I hit the admin login, I get the error below. Anyone else seen this? H ArgumentError (wrong number of arguments (1 for 2)): /lib/renderfix.rb:20:in `read_template_file'' /lib/renderfix.rb:20:in `render_file'' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.9.1.2471/lib/action_controlle r/base.rb:637:in `render_file'' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.9.1.2471/lib/action_controlle r/base.rb:579:in `render_with_no_layout'' /usr/local/lib/ruby/gems/1.8/...
2006 Jul 12
0
Strange error
.../gems/1.8/gems/actionpack-1.12.1/lib/action_view/base.rb:314:in `compile_and_render_template'' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_view/base.rb:290:in `render_template'' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_view/base.rb:249:in `render_file'' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/templates/rescues/diagnostics.rhtml:11:in `_run_rhtml__usr_local_lib_ruby_gems_1468_gems_actionpack_14612461_lib_action_controller_templates_rescues_diagnostics'' /usr/local/lib/ruby/gems/1.8/gems/actionpa...
2006 May 22
4
RMagick gem problem using Rails and possibly WEBRick...
.../lib/action_view/base.rb:305:in `compile_and_render_template'' C:/InstantRails-1.0/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_view/base.rb:290:in `render_template'' C:/InstantRails-1.0/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_view/base.rb:249:in `render_file'' C:/InstantRails-1.0/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/base.rb:699:in `render_file'' C:/InstantRails-1.0/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/base.rb:621:in `render_with_no_layout'' C:/InstantRails-1....
2006 Apr 17
5
Strange question on file_column
...b/ruby/gems/1.8/gems/actionpack-1.12.0/lib/action_view/base.rb:300:in `compile_and_render_template'' d:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.0/lib/action_view/base.rb:285:in `render_template'' d:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.0/lib/action_view/base.rb:244:in `render_file'' d:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.0/lib/action_controller/base.rb:697:in `render_file'' d:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.0/lib/action_controller/base.rb:619:in `render_with_no_layout'' d:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.0/lib/actio...
2007 May 30
2
ActionView::TemplateError
..._render_template'' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb: 303:in `render_template_old'' #{RAILS_ROOT}/vendor/plugins/haml/lib/haml/template.rb:121:in `render_template'' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb: 263:in `render_file'' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb: 278:in `render_without_haml'' #{RAILS_ROOT}/vendor/plugins/haml/lib/haml/helpers/ action_view_mods.rb:17:in `render'' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/partials.rb: 60:in `rende...
2006 Oct 17
4
Mocking the rendering of a Rails template
...ase until after the controller processing is called. I have no idea what is going on with the second attempt. It''s hitting a mock, but I have no idea where that mock is coming from. Logically, it probably is coming from the any_instance magic, but in that case it should be expecting the render_file call. Thoughts? What am I doing wrong in the second case? Is there another way I could mock this? Any help would be greatly appreciated. -Bryan -- http://www.MyCongress.org/ -- coming soon
2006 Jun 23
1
rubyful_soup works fine as an RB file but bugs in Rails
...in `require'' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:314:in `compile_and_render_template'' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:290:in `render_template'' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:249:in `render_file'' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb:699:in `render_file'' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb:621:in `render_with_no_layout'' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/layout.rb:243:in `r...
2006 Jun 23
0
Date class giving errors
.../lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_view/base.rb: 314:in `compile_and_render_template'' /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_view/base.rb: 290:in `render_template'' /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_view/base.rb: 249:in `render_file'' /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/ base.rb:699:in `render_file'' /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/ base.rb:621:in `render_with_no_layout'' /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_contr...
2007 Jul 12
1
form_tag doesn't accept a string anymore in edge rails?
...tionpack/lib/action_view/base.rb:350:in `send'' vendor/rails/actionpack/lib/action_view/base.rb:350:in `compile_and_render_template'' vendor/rails/actionpack/lib/action_view/base.rb:326:in `render_template'' vendor/rails/actionpack/lib/action_view/base.rb:286:in `render_file'' vendor/rails/actionpack/lib/action_controller/base.rb:879:in `render_file'' vendor/rails/actionpack/lib/action_controller/base.rb:780:in `render_with_no_layout'' vendor/rails/actionpack/lib/action_controller/layout.rb:249:in `render_without_benchmark''...
2006 Sep 12
1
Ferret on Windows?
.../lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_view/base.rb:307:in `compile_and_render_template'' c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_view/base.rb:292:in `render_template'' c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_view/base.rb:251:in `render_file'' c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/base.rb:726:in `render_file'' c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/base.rb:648:in `render_with_no_layout'' c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_...
2007 Dec 03
1
undefined methods page_count
.../gems/1.8/gems/actionpack-1.13.6/lib/action_view/ base.rb:325:in `compile_and_render_template'' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_view/ base.rb:301:in `render_template'' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_view/ base.rb:260:in `render_file'' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/ action_controller/base.rb:812:in `render_file'' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/ action_controller/base.rb:717:in `render_with_no_layout'' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.13.6/...
2010 Mar 20
0
Problem with videos on heroku
...'' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb: 314:in `compile_and_render_template'' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb: 290:in `render_template'' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb: 249:in `render_file'' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb: 264:in `render'' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/partials.rb: 59:in `render_partial'' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/ benchmarking.rb:33:in `bench...