similar to: Testing problems: ActiveSupport

Displaying 20 results from an estimated 400 matches similar to: "Testing problems: ActiveSupport"

2007 Mar 15
1
Getting the stack trace
Hi all, I am using the following code to print the exception, but is there a way to get the stack trace of the complete error like Exception: No option with text of Contract form in this select element C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1145/./watir.rb:3656:in `select_item_in_select_list''
2007 Jun 01
0
"Exception: stack level too deep" on collection.clear?
Without getting too deep into my app I''m wondering if anyone has any clues what might give rise to the error posted below. It occurs when I run my unit tests. class Actor < AR:Base belongs_to :court_case end class CaseCause < AR:Base belongs_to :court_case end class CourtCase < AR:Base has_many :actors has_many :case_causes ... end def my_test_method ...
2006 Nov 18
0
java.lang.RuntimeException: Unable to execute interpreter: [
Hello, New to Ruby, just installed InstantRails and RadRails. Upon creating a project I get the messages below In the Console invalid option -- e In the Ri tab For help on options, try ''rdoc --help'' java.lang.RuntimeException: Unable to execute interpreter: [C:/InstantRails/ruby/bin/ri, --no-pager, -l]null at
2010 Jul 16
1
Rails 3 bug: undefined method `<=>' for class `ActiveSupport::Multibyte::Chars'
I''m getting the following bug when I try to run rake db:migrate in Rails 3 beta 4: $ rake db:migrate --trace (in C:/Users/Adam/Documents/Aptana Workspace/QuestionBank) default formats are encoded in ISO-8859-1 ** Invoke db:migrate (first_time) ** Invoke environment (first_time) ** Execute environment ** Execute db:migrate == CreateUsers: migrating
2006 Jul 18
1
RadRails and SVN
I installed the Eclipse 3.2, Subclipse, and RDT: http://updatesite.rubypeople.org/release and RadRails: http://radrails.sourceforge.net/update. I am getting the "Failed to load JavaHL Library" error message when I go to Preferences -> Team -> SVN tab. This is also happening in standalone RadRails installation. How can I fix this? TIA.
2005 Nov 25
0
Development environment?
Hey folks- What is the preferred dev environment for Rails apps? I''m presently using Eclipse with the RubyPeople RDT, but I''ve also heard of RadRails. Are these comparable? Jake -- Posted via http://www.ruby-forum.com/.
2010 Jul 30
4
Ferret installation
Hi guys, I''m very new to the RoR. So please be kind to me.. I''m having problems with ferret installation in rubygems. I''m on: ruby 1.9.1p429 (2010-07-02 revision 28523) [i386-mingw32] Rails 2.3.8 and i''m running windows 7 x64 When i enter ''gem install ferret --version 0.11.6'', it returns this error: Building native extensions. This could
2006 Jul 24
3
Creating performance test fixtures from development db? How?
Hi all! I''m looking into the testing chapter of Agile Web Development With Rails (2nd ed.). I want to performance test my app, but I''m too lazy to write fixtures for performance test. I''d rather use the data from my development db (because the data is so close to the production data). How do I get the data into the test db without writing fixtures? Could you please
2010 Jun 14
6
ERROR: Failed to build gem native extension (win server 2003/2008 ruby 1.9.1/1.8.7)
I am trying to install mongrel_service gem on Windows (although this problem seems to hold for any non-compiled gem). I have tried this with Windows Server 2003 and 2008. Also with Ruby version 1.8.7 and 1.9.1 (Luis Lavena''s one click installer). Both with the same result. The error message (full text below) mentions that I have to install development tools first. I have installed MinGW
2005 Dec 23
1
Salted Login Error
Anyone know what''s causing this? ------------------------------------------------------------------------ 1) Error: test_delete(UserControllerTest): NoMethodError: undefined method `advance_by_days='' for Time:Class ./test/functional/user_controller_test.rb:132:in `test_delete'' 2) Error: test_signup(UserControllerTest): NoMethodError: undefined method
2011 Jun 22
0
Spork, Rails and testunit
Hi. I''m trying to use Spork (actually spork-testunit, last git version) with Rails 3. My setup is correct, I manage to launch Spork (through bundle exec) and testdrb. But I cannot succeed to have my models reloaded. Spork-testunit''s doc says to put the loading commands in the prefork block, which I did. Nobody seems to require the use of Spork#trap_method. What is the good
2011 Feb 02
0
[ win32utils-Bugs-28904 ] Gem win32-eventlog v0.5.2 on Ruby 1.9.1 and 1.9.2
Bugs item #28904, was opened at 2011-02-02 18:41 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=411&aid=28904&group_id=85 Category: win32-eventlog Group: Code Status: Open Resolution: None Priority: 3 Submitted By: Jason Bourne (jbourne) Assigned to: Nobody (None) Summary: Gem win32-eventlog v0.5.2 on Ruby 1.9.1 and 1.9.2 Initial Comment: 1.Requirement:
2005 Jul 05
2
Salted hash login generator (verification problem?)
Hi all, I hope someone can help with what is probably a simple newb installation mistake on my part. I''m having a couple of problems with the salted hash login generator. I installed it following the quickstart guide, and the unit tests work like a charm. There are two errors and a failure on the function tests, though; the verified field seems to be involved in at least one of
2011 Mar 02
2
[ win32utils-Bugs-28904 ] Gem win32-eventlog v0.5.2 on Ruby 1.9.1 and 1.9.2
Bugs item #28904, was opened at 2011-02-02 10:41 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=411&aid=28904&group_id=85 Category: win32-eventlog Group: Code Status: Open Resolution: None Priority: 3 Submitted By: Jason Bourne (jbourne) Assigned to: Nobody (None) Summary: Gem win32-eventlog v0.5.2 on Ruby 1.9.1 and 1.9.2 Initial Comment: 1.Requirement:
2009 Feb 03
3
Rcov - Specifying rake tasks
I am trying to get a customized rcov rake task working. What I have so far looks like this: desc "Rcov code coverage reports" require ''rcov/rcovtask'' require ''spec/rake/spectask'' require ''cucumber/rake/task'' task :rcov => "rcov:all" namespace :rcov do Rcov::RcovTask.new(:all) do task :rcov =>
2004 Feb 01
2
test_services test case
While working on win32-service-0.3.0 I got hung up trying to resolve that "RPC server is unavailable" error message that was popping up on some systems. I couldn''t duplicate this on my XP Pro box, but it does show up on my Win2k box. Quick review - this is the test case from tc_service.rb def test_services assert_nothing_raised{ Service.services{ } }
2010 Aug 14
10
Redirecting after logging in
Hey everybody, I''m trying to make an example of a small networking site, and when I log in a user, it should redirect and show his profile, but I get the following error: NoMethodError in User#index Showing app/views/user/index.html.erb where line #5 raised: undefined method `screen_name'' for nil:NilClass Extracted source (around line #5): 2: Your basic information 3:
2008 Dec 02
0
RubyPeople - I am after a Ruby on Rails Developer for the UK
Ruby-People.com - Due to recent relocation an opportunity has arisen for 2 creative and highly skilled Ruby on Rails Developers with at least 1 year commercial experience to join our client - a leading Internet services and hosting company. You will be joining a small focused team and will be developing customer facing and internal systems for multiple brands. You will be working with Ruby on
2007 Mar 22
1
Functional test and flash with an error
I''m getting this error thats moaning about expected tag, but no tag found matching {:content=>"User James Apps was successfully created.", :attributes=>{:id=>"notice"}, :tag=>"div"} in the file application.rb. I tried using a regular expression - /#{user.first_name}/ , but that wouldn''t work either user_controller_test.rb 1) Failure:
2005 Feb 27
0
Re: test/unit report attached
Hi Shanko, I''ve read over the testunit results that you posted. First, please do not include win32-thread or win32-driveinfo. The former is extremely beta. The latter I want to reshape a bit before we release it. Other tests: You can ignore the LINK warnings. win32-dir - These failures are expected. Ignore. win32-file - You can ignore the warnings regarding File.encrypt and