Displaying 20 results from an estimated 300 matches similar to: "r3981 causes SystemStackError"
2006 Feb 26
6
Having trouble getting Edge Rails running
Hello,
I''ve been playing with this for hours, and got through a couple glitches
(e.g. updating to Ruby 1.8.4) but this one is well beyond my N00b
skills. When trying to run script/server I get:
./script/../config/../vendor/rails/activesupport/lib/active_support/dependencies.rb:87:in
`as_load_path'': stack level too deep (SystemStackError)
from
2006 Mar 25
1
Question about upgrading to rails rc1.1
My current under-developed project is using rails 1.0 and now plan to
upgrade to rails rc1.1,the project uses the Rails-engine and
Login-engine as the login module,when I update the rails according to
http://weblog.rubyonrails.org/articles/2006/03/22/rails-1-1-release-candidate-1-available
The project still can not be started,anybody can tell me the reason?very
thanksful!And following is the
2006 Mar 28
8
Correct way to capture a select param
I''m having trouble capturing the params from a select type form.
For text field like this:
<%= text_field_tag :courseid %>
I''m able to capture the posted value with this
params[:courseid]
However with a select field like this:
<%= select(:course, :id, %w{value1 value2 value3} %>
I''m not sure how to capture the posted value.
--
Posted via
2006 Mar 01
1
Net/Https & active_rbac & Debian Sarge
Hi,
I''m attempting an install of active_rbac but am having some troubles.
I''m running Debian 3.1 sarge and I am getting an error saying that I
need to have net/https installed.
I checked out my ruby lib and net/https.rb is nowhere to be found.
I''m running the default ruby for Sarge which is 1.8.2. Was https.rb not
included in this build?
How can I get around this? I
2006 Jul 12
5
SystemStackError
SystemStackError in GreyController#grey_search
stack level too deep
can anybody please enlighten me on this one...any possible way to
troubleshoot?
thanks,
MSN id: ICEMANyears@netscape.net
--
Posted via http://www.ruby-forum.com/.
2007 Nov 08
2
SystemStackError from redirect_to
Hi
I''ve got a straightforward piece of code in my controller which will
consistently produce a SystemStackError.
@newmessage = @message.reply(params[:newmessage])
return unless request.post?
if @newmessage.save
flash[:notice] = "Message Sent"
redirect_to :index
end
The error is occuring on the redirect_to line, if I comment that line
out then everything behaves as it
2006 Aug 31
0
Net::HTTP.new produces SystemStackError?
http = Net::HTTP.new(HOST, PORT)
When I try to create a new Net::HTTP object, I get a SystemStackError:
"stack level too deep". The trace shows a long list of
"/usr/lib/ruby/1.8/net/http.rb:333:in `newobj''", which when I look at
the code seems to say that Net::HTTP keeps calling its own newobj method
recursively, with some Proxy object involved? I''m not
2006 Jul 18
1
Fixtures Max Size? SystemStackError: stack level too deep
Hello,
I have a table of zipcodes that I am using in my application, so there
are approximately 50,000 rows in this table. I have dumped the table to
a fixture yaml file to represent this data, but when I try to load it, I
get this error: SystemStackError: stack level too deep
Is there a max size allowed for a fixture file..?
Here is the --trace output:
rake db:fixtures:load --trace
**
2008 Jun 05
2
RSpec Story - SystemStackError: stack level too deep
I have a story that executes the following (as an example to show the
bug I''m experiencing):
----------------------------------------------
Given "I have a fake post saved" do
@postCount = Post.find(:all).length
@post = Post.new
@post.employee_id = 123
@post.name = "Name of the Post"
@post.description = "Description of the Post"
2007 Dec 25
1
puppetd: err: Got an uncaught exception of type SystemStackError: stack level too deep
i''m having trouble with a file resource with 0.24.1. the manifest is
very simple:
file { "/":
ensure => directory,
owner => "root",
group => "root",
mode => 755
}
when i run puppetd, i get the attached stack trace. removing this
resource enables puppetd to complete its run successfully.
any ideas? didn''t have this
2006 Aug 15
0
SystemStackError: stack level too deep
Hi
I have two models Keyword and KeywordResult, they basically look like this:
class KeywordResult < ActiveRecord::Base
belongs_to :keyword
validates_presence_of :title, :url, :keyword_id
end
class Keyword < ActiveRecord::Base
has_many :keyword_results, :dependent => :delete_all
acts_as_tree :order => "text", :foreign_key => "top_keyword"
end
Before you
2007 Jan 31
2
SystemStackError: stack level too deep
I''m testing the http module in console.
BUt I got the following error.
Anyone knows why?
>> Net::HTTP.get_print ''www.google.com'', ''index.html''
SystemStackError: stack level too deep
from C:/InstantRails/ruby/lib/ruby/1.8/net/http.rb:451:in
`newobj''
from C:/InstantRails/ruby/lib/ruby/1.8/net/http.rb:451:in
2013 Jun 22
4
ActiveRecord::Base.transaction - SystemStackError - stack level too deep:
Im having an issue that seems to only happen when trying to use a
transaction. Ive used transactions many times in the past and Im at a loss
as to why im getting the stack level too deep problem.
SystemStackError - stack level too deep:
actionpack (3.2.13) lib/action_dispatch/middleware/reloader.rb:70:in `''
I have a StackOveflow with more detail -
2009 Feb 02
9
ActiveRecord Unexplainable SystemStackError - Only in WEBrick
This SystemStackError is driving me crazy. It only takes place when
testing with WEBrick - I can''t reproduce it with any tests. It is
caused by calling the "missing" id method (base.rb:2435) on my
ActiveRecord class.
WEBrick and my tests are running as the same user, with a `ulimit -s`
of 10240. Plus the query works sometimes so I don''t think this
matters.
2006 Mar 12
2
engines in edge
Hi,
Engines is not working correctly for me with edge.
I get:
vendor/plugins/engines/lib/dependencies_extensions.rb:28:in
`require_or_load'':NoMethodError: undefined method `log'' for Engines:Module
I tried playing with
Engines.create_logger
at the end of config/environment.rb, but without success.
ANy ideas ?
PS: the Mailing List pages on rails-engines.org is empty :/
--
2006 Jul 05
2
Serialized object behaves weird
Hi!
I got a class named EinsatzFilter which I serialized to session. Before
saving to session it works afterwards I keep getting the message:
"undefined method `to_s'' for #<Person:0x38c6ab8>". "Person" is a from
ActiveRecord::Base inherited class.
Code:
class EinsatzFilter
include ApplicationHelper
attr_reader :personen, :monat, :projekte, :kunde
2006 Mar 25
1
Re: Rails Digest, Vol 18, Issue 656
Here''s an alternative in-depth treatment on setting upo rails on Debian
(Ubuntu, Kubuntu, ... ), may be interesting to follow through in more detail
for some:
The Perfect Rails/debian/lighttpd Stack... (
http://brainspl.at/pages/perfect_vps )
Victor Kane
http://awebfactory.com.ar
On 3/25/06, rails-request@lists.rubyonrails.org <
rails-request@lists.rubyonrails.org> wrote:
>
2006 Jan 10
4
Problem creating MockController
Hi there,
I''m trying to create a mock controller to test the use of UrlHelper in
ActionMailer. I''m trying this:
require
''d:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.11.0/lib/action_controller''
# Re-raise errors caught by the controller.
#class DiscussionsController; def rescue_action(e) raise e end; end
class MockController < ActionController::Base
def
2006 Jan 07
2
app no longer runs - MissingSourceFile for any controller
Hello all. I somehow managed to break my rails app running under Apache 2
with fcgi. With any action I try, it throws an exception saying it can''t
find the source file. For instance, requesting an action in my
welcome_controller results in:
MissingSourceFile in <controller not set>#<action not set>
No such file to load -- app/controllers/welcome_controller.rb
The log
2005 Dec 02
8
UserEngine: stack level too deep
Hi,
I''m trying to get the UserEngine running.
I have installed the LoginEngine, added the essential lines to
environment.rb / application.rb and application_helper.rb.
Worked fine.
Then I did the same with the UserEngine and when trying to set up the
db:
rake engine_migrate ENGINE=user
I get:
Migrating engine ''user_engine''
rake aborted!
stack level too deep
But...