Displaying 14 results from an estimated 14 matches for "default_rend".
Did you mean:
default_menu
2011 Aug 15
2
respond_with with templates and http status when creating an object
Hi.
When you use respond_with in a controller #create method and want to render
XML the response gets the http status 201 (Created).
But if you use a view to render this XML response_with uses the status 200
(Ok), for example when you use the gem rabl.
I cannot determine if this matter is related to Rails or rabl. If it''s from
Rails, is there a particular reason for this behavior?
2009 Jun 06
2
How does controller call render when there's no render in action
Hello,
I was studying Rails source and at this point:
def process(request, response, method = :perform_action, *arguments)
#:nodoc:
response.request = request
initialize_template_class(response)
assign_shortcuts(request, response)
initialize_current_url
assign_names
log_processing
send(method, *arguments)
send_response
I have a
2008 May 24
1
link_to_remote, image_tag, mouseover is this possible?
...#39;
vendor/rails/actionpack/lib/action_controller/benchmarking.rb:51:in
`render''
C:/ruby/lib/ruby/1.8/benchmark.rb:293:in `measure''
vendor/rails/actionpack/lib/action_controller/benchmarking.rb:51:in
`render''
vendor/rails/actionpack/lib/action_controller/base.rb:1153:in
`default_render''
vendor/rails/actionpack/lib/action_controller/base.rb:1159:in
`perform_action_without_filters''
vendor/rails/actionpack/lib/action_controller/filters.rb:697:in
`call_filters''
vendor/rails/actionpack/lib/action_controller/filters.rb:689:in
`perform_action_without_benchma...
2008 Jun 30
1
Help with form_for
...y/gems/1.8/gems/activesupport-2.1.0/lib/active_support/
core_ext/benchmark.rb:8:in `realtime''
/usr/lib64/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/
benchmarking.rb:51:in `render''
/usr/lib64/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/
base.rb:1157:in `default_render''
/usr/lib64/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/
base.rb:1163:in `perform_action_without_filters''
/usr/lib64/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/
filters.rb:580:in `call_filters''
/usr/lib64/ruby/gems/1.8/gems/actionpack-2.1.0/...
2009 Dec 24
4
NoMethodError
...r/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/
core_ext/benchmark.rb:17:in `ms''
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/
benchmarking.rb:51:in `render''
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/
base.rb:1326:in `default_render''
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/
base.rb:1332:in `perform_action_without_filters''
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/
filters.rb:617:in `call_filters''
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/ac...
2008 Jan 24
1
NoMethodError (undefined method `to_sym' for {"6"=>"1"}:Hash
...hmarking.rb:51:in
`render''
/usr/lib/ruby/1.8/benchmark.rb:293:in `measure''
/usr/lib64/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/benchmarking.rb:51:in
`render''
/usr/lib64/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:1153:in
`default_render''
/usr/lib64/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:1159:in
`perform_action_without_filters''
/usr/lib64/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/filters.rb:697:in
`call_filters''
/usr/lib64/ruby/gems/1.8/gems/actionp...
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:
2008 Jun 22
1
will paginate?
...:in
`render''
/usr/local/lib/ruby/1.8/benchmark.rb:293:in `measure''
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/benchmarking.rb:51:in
`render''
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:1153:in
`default_render''
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:1159:in
`perform_action_without_filters''
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/filters.rb:697:in
`call_filters''
/usr/local/lib/ruby/gems/1.8/...
2013 Mar 24
5
Rails 4.0 has_many_through and fields_for
...''
activerecord (4.0.0.beta1) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime''
actionpack (4.0.0.beta1) lib/action_controller/metal/instrumentation.rb:40:in `render''
actionpack (4.0.0.beta1) lib/action_controller/metal/implicit_render.rb:10:in `default_render''
actionpack (4.0.0.beta1) lib/action_controller/metal/implicit_render.rb:5:in `send_action''
actionpack (4.0.0.beta1) lib/abstract_controller/base.rb:189:in `process_action''
actionpack (4.0.0.beta1) lib/action_controller/metal/rendering.rb:10:in `process_action''...
2009 Sep 29
5
NoMethodError in Stories#show
.../Ruby/Gems/1.8/gems/activesupport-2.2.2/lib/active_support/
core_ext/benchmark.rb:8:in `realtime''
/Library/Ruby/Gems/1.8/gems/actionpack-2.2.2/lib/action_controller/
benchmarking.rb:51:in `render''
/Library/Ruby/Gems/1.8/gems/actionpack-2.2.2/lib/action_controller/
base.rb:1248:in `default_render''
/Library/Ruby/Gems/1.8/gems/actionpack-2.2.2/lib/action_controller/
base.rb:1259:in `perform_action_without_filters''
/Library/Ruby/Gems/1.8/gems/actionpack-2.2.2/lib/action_controller/
filters.rb:617:in `call_filters''
/Library/Ruby/Gems/1.8/gems/actionpack-2.2.2/lib/ac...
2008 May 16
0
attachment_fu and/or rmagick on osx -- weird error
...ilsMar2007_i386.locobundle/framework/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/benchmarking.rb:51:in
`render''
/Applications/Locomotive2/Bundles/rmagickRailsMar2007_i386.locobundle/framework/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:1153:in
`default_render''
/Applications/Locomotive2/Bundles/rmagickRailsMar2007_i386.locobundle/framework/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:1159:in
`perform_action_without_filters''
/Applications/Locomotive2/Bundles/rmagickRailsMar2007_i386.locobundle/framework/lib/ru...
2009 May 20
8
ctionView::TemplateError (undefined method `start_form_tag'
...s/1.8/gems/activesupport-2.1.1/lib/active_support/core_ext/benchmark.rb:8:in
`realtime''
/usr/lib64/ruby/gems/1.8/gems/actionpack-2.1.1/lib/action_controller/benchmarking.rb:51:in
`render''
/usr/lib64/ruby/gems/1.8/gems/actionpack-2.1.1/lib/action_controller/base.rb:1161:in
`default_render''
/usr/lib64/ruby/gems/1.8/gems/actionpack-2.1.1/lib/action_controller/base.rb:1167:in
`perform_action_without_filters''
/usr/lib64/ruby/gems/1.8/gems/actionpack-2.1.1/lib/action_controller/filters.rb:579:in
`call_filters''
/usr/lib64/ruby/gems/1.8/gems/actionp...
2010 Jul 19
16
Strange Error undefined method `show' for # see no way to debug, suggestions?
I changed fairly much in my app without constant testing ( my bad )
now i get an error which I cannot seem to debug point my finger on.
I have a home controller which just displays a welcome page this had a
index only action.
Whatever controller I try to open i always get above error message
ActionView::TemplateError (undefined method `show'' for
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...