similar to: No stacktrace on errors (edge rails)

Displaying 20 results from an estimated 7000 matches similar to: "No stacktrace on errors (edge rails)"

2006 Mar 21
2
How do I get substring of utf-8 string?
I''m trying to get substring from a utf-8 encoded string. (say, first 50 characters of the string) String#[0..49] would give me the first 50 bytes not 50 characters.. I know there is jcode library, but it only let you count number of characters in utf-8 string. unicode gem doesn''t seem to help much. unicode_hacks gem seem to solve the problem, but it also seems to
2006 Jul 27
9
Introspecting validates_presence_of
Hello people, I''d like to detect whether an attribute of a model has vaildates_presence_of applied to it so I can automatically apply a mandatory (*) to the field...it doesn''t look easy...any ideas? Cheers, -- Dan Webb http://www.danwebb.net
2006 Dec 21
7
rspec_autotest no longer re-runs tests with rspec 0.7.5
Has anyone else encountered this problem? What I mean is, rspec_autotest runs all specs, then waits. When you change a spec, it reruns that spec. However, if that spec now passes, it should run the whole suite again, so you can see the next one to work on. It no longer does this. This renders it somewhat useless. Does anyone have autotest working with rspec 0.7.5, or does anyone have any
2011 Sep 28
1
CentOS 6.0: iptables stacktrace with named chains > 28 chars
Hi, I'm not sure where to ask this question, you, redhat or netfilter so I'll ask you guys first, hoping you can redirect me where this post belongs. I have an issue with my CentOS 6 box with named chains in iptables. Apparently there is a builtin #define to limit chain names up to 30 chars, but the test condition fails and iptables crashes with a stacktrace. # cat /etc/redhat-release
2006 Apr 08
2
respond_to causes DoubleRenderError?
I have a custom authentication plugin that redirects users to a login site if they aren''t already authenticated and their session hasn''t timed out. I had things working fine with straight http requests, but wanted to add support for ajax requests. I thought this would be a simple matter of replacing all of my "redirect_to <blah> and return false" calls with
2015 Jul 31
2
[LLVMdev] Asan: Print stacktrace on SIGFPE
Would it make sense to add the possibility to print a stacktrace also on SIGFPE and not only on SIGSEGV or SIGBUS? Only noticed that LibFuzzer doesn't generate any crash report because asan is not handling the signal. Kind regards, Karl Skomski -------------- next part -------------- An HTML attachment was scrubbed... URL:
2015 Jul 31
0
[LLVMdev] Asan: Print stacktrace on SIGFPE
On Fri, Jul 31, 2015 at 5:15 AM, Karl Skomski <karl at skomski.com> wrote: > Would it make sense to add the possibility to print a stacktrace also on > SIGFPE and not only on SIGSEGV or SIGBUS? > Yes, under a separate flag (handle_sigfpe=1). I think it's fine to have this flag on by default. Would you like to contribute a patch? > Only noticed that LibFuzzer doesn't
2006 Jan 06
10
I need debugging tips?
Hi all, Like most other frameworks, Ruby groups code by Model/View/Controller instead of by task, and therefore I''m having a hard time debugging a problem from the Agile Rails book where looping through @items errors out because one or more items is nil. I managed to empty the cart by placing session[:cart] = nil in find_cart() in the store_controller_rb, and the problem continued
2005 Dec 30
5
AWS api_method :returns not accepting ActiveRecord::Base
I''m trying to use the feature of AWS where it will take an object derived from ActiveRecord::Base instead of an AWS::Struct object. Whenever I try it, though, I get the craziest error: NoMethodError: You have a nil object when you didn''t expect it! The error occured while evaluating nil.new /usr/lib/.../actionwebservice/lib/action_web_service/casting.rb:105:in
2009 Apr 10
4
rails2.3/ruby1.9: invalid byte sequence in utf-8 with blank?
hi all, anyone seen this controller argument error: invalid byte sequence in utf-8 ror/vendor/rails/activesupport/lib/active_support/core_ext/blank.rb: 50:in `=~'' ror/vendor/rails/activesupport/lib/active_support/core_ext/blank.rb: 50:in `!~'' ror/vendor/rails/activesupport/lib/active_support/core_ext/blank.rb: 50:in `blank?''
2006 Apr 12
5
File upload doesn''t work in production mode
Can anyone understand what the production.log file is telling me. I''ve tried playing with the permissions for the folders and it makes no difference. Every time I submit the form to upload the file I get "Application error (Rails)" which doesn''t really help. Processing DocsController#create (for 82.152.151.194 at 2006-04-12 12:44:13) [POST] Session ID:
2006 Jul 24
7
[PATCH] Support for DB Clusters/Replication in ActiveRecord (RFC)
Skipped content of type multipart/alternative-------------- next part -------------- Index: connection_adapters/abstract/connection_specification.rb =================================================================== --- connection_adapters/abstract/connection_specification.rb (revision 4617) +++ connection_adapters/abstract/connection_specification.rb (working copy) @@ -1,10 +1,21 @@ require
2005 Dec 15
5
Action Mailer - connection refused - connect(2)
hi: I am on Mac OSX 10.4 using locomotive. My ActionMailer configuration is ActionMailer::Base.delivery_method = :smtp # or :sendmail or test ActionMailer::Base.server_settings = { :address => "mail.albertafilmworks.com", :port => 25, :domain => "brucebalmercanada.com" } ActionMailer::Base.perform_deliveries = true
2005 Feb 08
2
test_process.rb => LoadError
Line 4 and following of test_process.rb reads: if defined?(RAILS_ROOT) # Temporary hack for getting functional tests in Rails running under 1.8.2 class Object #:nodoc: alias_method :require_without_load_path_reloading, :require def require(file_name) begin require_without_load_path_reloading(file_name) rescue Object => e
2006 Jul 10
7
How to obscure/encrypt password parameter?
Hi all- I am building an application that includes a login screen. During development I found that user passwords are logged by Rails in plain text -- this will not be acceptable to my users. Is there a way to obscure/encrypt incoming password parameters or not write them to the log files at all? One thought was to use Javascript, but I was not sure how secure that would be. Thanks, Josh
2013 Dec 09
2
[PATCH] rework master-to-worker signaling to use a pipe
Signaling using normal kill(2) is preserved, but the master now prefers to signal workers using a pipe rather than kill(2). Non-graceful signals (:TERM/:KILL) are still sent using kill(2), as they ask for immediate shutdown. This change is necessary to avoid triggering the ubf (unblocking function) for rb_thread_call_without_gvl (and similar) functions extensions. Most notably, this fixes
2007 Oct 09
5
Backticks wrapping SQL values in polymorphic associations...
Hopefully the subject line didn''t scare you. That said... I have a simple polymorphic relationship (is that possible?): class Part has_many :attachments, :as => :attachable end class Attachment belongs_to :attachable, :polymorphic => true end Calling Part.find(:first).attachments yields this SQL error: ActiveRecord::StatementInvalid: Mysql::Error: Unknown column
2008 Dec 05
1
ActiveRecord Oracle and nvarchar2 or nclob datatype
Hi, I ve got oracle database which exists prior to my rails app... :-( I ve got trouble when I am updating/inserting records of a table which includes nvarchar2 attributes. These have a specific maximum length. I often get an error Value too long for column when doing my inserts/ updates, but in fact that is not the case. I ve taken a look at the generated sql statements.... As far as I know
2008 May 29
17
SMC Webconsole 3.1 and ZFS Administration 1.0 - stacktraces in snv_b89
I''ve installed SXDE (snv_89) and found that the web console only listens on https://localhost:6789/ now, and the module for ZFS admin doesn''t work. When I open the link, the left frame lists a stacktrace (below) and the right frame is plain empty. Any suggestions? I tried substituting different SUNWzfsgr and SUNWzfsgu packages from older Solarises (x86/sparc, snv_77/84/89,
2006 Mar 08
6
GD error...
Hi! I''m new in ruby/rails programming and i have a small problem. I have installed InstantRails 1.0 (for Ruby/Rails/Mysql/Apache envs) and I''m trying to make a small app working. I''m using auth_generator for making a login page/users admin pages... and I have a problem when trying to CHANGE the avatar for the user. I have the following error: MissingSourceFile