search for: _render_template

Displaying 6 results from an estimated 6 matches for "_render_template".

Did you mean: render_template
2010 Jul 27
13
3.0.0rc ActionController::RoutingError No route matches
Have been developing on 3.0.0beta4 and just updated to 3.0.0.rc. When I try to link_to() a User object that previously had worked, I get the following: ActionView::Template::Error (No route matches {:action=>"destroy", :controller=>"games", :id=>#<User ..... > Yet I have in my routes.rb file has resources :users and my "rake routes" shows:
2010 Nov 04
0
Re: Train wreck getting render_to_string to work from foreign controller [SOLVED]
...ize_args(*args, &block) > _normalize_options(options) > render_to_body(options) > end > > # Raw rendering of a template to a Rack-compatible body. > # :api: plugin > def render_to_body(options = {}) > _process_options(options) > _render_template(options) > end > > # Find and renders a template based on the options given. > # :api: private > def _render_template(options) #:nodoc: > view_context.render(options) > end > > So I new to reading the source but is the problem that it is using th...
2011 Mar 16
1
Help overriding rescue_action_in_public in Rails 3
...t'' /var/lib/gems/1.8/gems/actionpack-3.0.5/lib/action_view/template.rb:127:in `render'' /var/lib/gems/1.8/gems/actionpack-3.0.5/lib/action_view/render/layouts.rb:80:in `_render_layout'' /var/lib/gems/1.8/gems/actionpack-3.0.5/lib/action_view/render/rendering.rb:62:in `_render_template'' /var/lib/gems/1.8/gems/activesupport-3.0.5/lib/active_support/notifications.rb:52:in `instrument'' /var/lib/gems/1.8/gems/activesupport-3.0.5/lib/active_support/notifications/instrumenter.rb:21:in `instrument'' /var/lib/gems/1.8/gems/activesupport-3.0.5/lib/active_su...
2013 Mar 24
5
Rails 4.0 has_many_through and fields_for
...rer/template_renderer.rb:17:in `render'' actionpack (4.0.0.beta1) lib/action_view/renderer/renderer.rb:36:in `render_template'' actionpack (4.0.0.beta1) lib/action_view/renderer/renderer.rb:17:in `render'' actionpack (4.0.0.beta1) lib/abstract_controller/rendering.rb:119:in `_render_template'' actionpack (4.0.0.beta1) lib/action_controller/metal/streaming.rb:219:in `_render_template'' actionpack (4.0.0.beta1) lib/abstract_controller/rendering.rb:112:in `render_to_body'' actionpack (4.0.0.beta1) lib/action_controller/metal/rendering.rb:33:in `render_to_body'&...
2010 Oct 20
7
How can I render a template outside of a controller in Rails 3?
...ems/activesupport-3.0.0/lib/active_support/notifications.rb:54:in `instrument'' from /Library/Ruby/Gems/1.8/gems/actionpack-3.0.0/lib/action_view/template.rb:127:in `render'' from /Library/Ruby/Gems/1.8/gems/actionpack-3.0.0/lib/action_view/render/rendering.rb:59:in `_render_template'' from /Library/Ruby/Gems/1.8/gems/activesupport-3.0.0/lib/active_support/notifications.rb:52:in `instrument'' from /Library/Ruby/Gems/1.8/gems/activesupport-3.0.0/lib/active_support/notifications/instrumenter.rb:21:in `instrument'' from /Library/Ruby...
2011 Dec 05
9
jquery - word is not defined
Just starting out with a beginner book on jquery and the very first thing I am trying fails (has to be me) Rails 3.1 - other jquery things working including a poor example of drag & drop that is my ultimate target here but just simply trying to get every alternating row in a table to have a different css class So I''m using... app/assets/javascripts/people.js.coffee and put in...