Displaying 20 results from an estimated 24 matches for "internal_server_error".
2009 Oct 18
4
NoMethodError in User sessionsController#new
...on"=>"new", "controller"=>"user_sessions"}
NoMethodError (undefined method `require_no_user'' for
#<UserSessionsController:0x24fc700>):
Rendered rescues/_trace (29.9ms)
Rendered rescues/_request_and_response (1.3ms)
Rendering rescues/layout (internal_server_error)
------------------------------------------
FYI------------------------------------
Rails version: 2.3.4
Ruby version: 1.8.6
2008 Jan 14
0
Making failing view specs easier to troubleshoot
I just had a problem that had me stumped for an hour. All of a sudden
all of my view specs were failing, and I couldn''t get good
troubleshooting information from the rspec output. The output from
running `rake specs` was a bunch of HTML from
app/views/exceptions/internal_server_error.html.erb, but there wasn''t
enough info there to diagnose my problem. It just said "Internal
server error" and had no stack trace. (And no, using `rake specs
--trace` wouldn''t help in this case.)
The thing that had me absolutely stumped was that the views all worked
fi...
2012 Sep 18
4
"best practices" for Rails serving RESTful JSON services for use by AngularJS, Ember.js, etc.
...@companies = Company.all
respond_with @companies
end
But respond_with makes assumptions about what should be called, and then
you should handle errors because it should try to return those as JSON with
an appropriate HTTP status code (:ok, :unprocessable_entity, :created,
:forbidden, :internal_server_error, etc.), then there is location url which
I''m not sure if has a place in a service meant for consumption by a service
meant to be consumed by a javascript app?, etc. For an idea of the various
things that people have to do and what they run into:
https://github.com/nesquena/rabl/issues/...
2008 Oct 14
4
replace_html not working
...lib/mongrel/command.rb:212:in
`run''
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:281
/usr/bin/mongrel_rails:19:in `load''
/usr/bin/mongrel_rails:19
Rendering
/usr/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/templates/rescues/layout.erb
(internal_server_error)
and the information , when i select a month .
Processing AccountsController#filtered_balances_for_a_month (for
127.0.0.1 at 2008-10-14 13:05:31) [POST]
Session ID:
BAh7CToUcmV0dXJuX2xvY2F0aW9uQzoeSGFzaFdpdGhJbmRpZmZlcmVudEFj
Y2Vzc3sJIgxzaXRlX2lkIgYyIgthY3Rpb24iCXNob3ciB2lkIgYxIg9jb250
cm9sbGV...
2008 Feb 07
2
Catching non-Merb::ControllerExceptions Exceptions
Is there an agreed upon method for handling exceptions thrown by
something outside of Merb? For example, DataMapper now throws a
DataMapper::ObjectNotFoundError when a record isn''t found in the db.
I''d like to catch these exceptions and raise a C:E:NotFound exception
instead, but without having to wrap a lot of code in begin/rescue/end
blocks.
Thanks,
Mike Irwin
2009 Apr 06
11
How do I fix this? Power went down.
...l.rb:285:in `run''
/usr/lib/ruby/1.8/mongrel.rb:268:in `initialize''
/usr/lib/ruby/1.8/mongrel.rb:268:in `new''
/usr/lib/ruby/1.8/mongrel.rb:268:in `run''
Rendered rescues/_trace (72.4ms)
Rendered rescues/_request_and_response (0.8ms)
Rendering rescues/layout (internal_server_error)
I really don''t want to lose all my work, but I''m totally lost on how
to fix this problem.
Sincerely,
Arthur
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To...
2008 Nov 03
2
Unable to install sqlite3
..._require.rb:31:in
`r
equire''
..........
..........
C:/Programs2/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`r
equire''
script/server:3
Rendering
C:/Programs2/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_c
ontroller/templates/rescues/layout.erb (internal_server_error)
============================== ERROR 1
=========================================
============================== ERROR 2
=========================================
C:/Programs2/Ruby>gem install sqlite3-ruby
Building native extensions. This could take a while...
ERROR: Error installing sqlite...
2012 Jan 05
4
mySQL: ERROR 1045: Access denied for user 'root'@'localhost' (using password: NO)
...e: library_production
username: root
password: password
host: localhost
---------------------------------------
The development log is showing like this
"
Rendering C:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/
actionpack-2.0.2/lib/action_controller/templates/rescues/layout.erb
(internal_server_error)
Processing BookController#index (for 127.0.0.1 at 2012-01-05 13:22:31)
[GET]
Session ID:
BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNo
%0ASGFzaHsABjoKQHVzZWR7AA%3D%3D--
d8a35d2303977ea5f70494b175549ff7959c5ee9
Parameters: {"action"=>"index", "control...
2013 May 08
1
server started as daemon: Application behaves differently from running in console
...cal/lib/ruby/1.8/webrick/server.rb:92:in `start''
/usr/local/lib/ruby/1.8/webrick/server.rb:23:in `start''
/usr/local/lib/ruby/1.8/webrick/server.rb:82:in `start''
Rendered rescues/_trace (32.0ms)
Rendered rescues/_request_and_response (1.0ms)
Rendering rescues/layout (internal_server_error)
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/...
2010 Jan 22
5
Rails Render Issue
Hi,
I am adding login functionality to my app which has two controllers
users and photos and i am having some trouble.
In my users/index view
<%if logged_in? %>
<%=render "photos/index"%>
<%else%>
.... Home page With login.....
<%end%>
In my photos/index view
<%if logged_in? %>
.... Welcome page .....
<%else%>
2010 Jul 22
0
TemplateError while rendering german special characters
...ick/httpserver.rb:111:in `service''
/usr/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run''
/usr/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread''
Rendered rescues/_trace (44.0ms)
Rendered rescues/_request_and_response (0.2ms)
Rendering rescues/layout (internal_server_error)
Any idea ?
regards,
Hardik
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To...
2006 Mar 22
8
Premature end of script headers: dispatch.cgi
Hi
I am running ruby 1.8.4 and rails 1.0.0 with Apache 2. I made a simple
rails application called demo and also created a controller called say
and an action called hello which is working fine using webrick. To run
it under Apache I created a symlink demo1 which is linked to the
demo/public directory. If I run it using www.example.com/demo1 then I
get the "Rails- Welcome Aboard"
2010 Apr 03
0
Deployment problem with apache + fastcgi
...It was for all controllers (for all requests).
Development.log:
Processing ActionController::Base#index [GET]
NameError (uninitialized constant [ControllerName]):
public/dispatch.fcgi:27
Rendered rescues/_trace (45.1ms)
Rendered rescues/_request_and_response (0.4ms)
Rendering rescues/layout (internal_server_error)
Please help me! Thanks!
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsub...
2009 Dec 30
2
relating controllers... How to?
...cal/lib/ruby/1.8/webrick/server.rb:92:in `start''
/usr/local/lib/ruby/1.8/webrick/server.rb:23:in `start''
/usr/local/lib/ruby/1.8/webrick/server.rb:82:in `start''
Rendered rescues/_trace (113.5ms)
Rendered rescues/_request_and_response (2.3ms)
Rendering rescues/layout (internal_server_error)
Please help me!!! what''s the matter??
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this...
2008 Apr 13
8
Brand new to rails: can't get databases to work
...stom_require.rb:27:in `gem_original_require''
C:/instantrails/ruby/lib/ruby/site_ruby/1.8/rubygems/
custom_require.rb:27:in `require''
script/server:3
Rendering C:/instantrails/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/
lib/action_controller/templates/rescues/layout.erb
(internal_server_error)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, se...
2009 Jun 09
3
NameError what is it?
...d:/ruby/lib/ruby/1.8/webrick/server.rb:92:in `start''
d:/ruby/lib/ruby/1.8/webrick/server.rb:23:in `start''
d:/ruby/lib/ruby/1.8/webrick/server.rb:82:in `start''
Rendered rescues/_trace (109.0ms)
Rendered rescues/_request_and_response (0.0ms)
Rendering rescues/layout (internal_server_error)
--
Posted via http://www.ruby-forum.com/.
2009 Jul 08
2
RuntimeError (JPEG marker not found!):
...C:/Ruby/lib/ruby/1.8/webrick/server.rb:92:in `start''
C:/Ruby/lib/ruby/1.8/webrick/server.rb:23:in `start''
C:/Ruby/lib/ruby/1.8/webrick/server.rb:82:in `start''
Rendered rescues/_trace (218.0ms)
Rendered rescues/_request_and_response (16.0ms)
Rendering rescues/layout (internal_server_error)
2008 Jun 22
1
will paginate?
...e_ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require''
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`require''
script/server:3
Rendering
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/templates/rescues/layout.erb
(internal_server_error)
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gma...
2011 Dec 16
4
nil object Error
hi all,
i am getting following error ,i can''t figure it out why and from where
it is coming ?
please help me out to resolved this error if anyone knows about this issue.
i am using following env.
O.S:Windows XP
Ruby:ruby 1.8.7 (2011-02-18 patchlevel 334) [i386-mingw32]
Rails:Rails 2.3.11
Gem:1.6.2
ActionView::TemplateError (You have a nil object when you didn''t expect
2009 Jun 08
2
Connecting to SQLServer
New to rails. Installed rails on my XP desktop, and setup my first app
that will use an existing SQLServer database. I am able to connect to
SQLServer using odbc with following code.
require ''rubygems''
require ''ActiveRecord''
ActiveRecord::Base.establish_connection(
:adapter => ''sqlserver'',
:mode => ''odbc'',
:dsn