similar to: Test errors

Displaying 20 results from an estimated 200 matches similar to: "Test errors"

2011 Oct 06
5
Simple ActiveRecord serialise problem
When I create a table with the following SQL: # create table foos (id SERIAL, content VARCHAR(255)); And define a class as follows: class Foo < ActiveRecord::Base serialize :content, JSON end Creating a new instance of the class gives an error: > f = Foo.new NoMethodError: undefined method `read'' for nil:NilClass from
2010 Apr 22
2
Server error
Hi, I''m new to rails. I installed it according to "getting started", created new application, run the server... and got an error :( C:\Temp\RailsApplication1>ruby script/server => Booting WEBrick => Rails 2.3.5 application starting on http://0.0.0.0:3000 C:/Ruby19/lib/ruby/gems/1.9.1/gems/rails-2.3.5/lib/initializer.rb: 271:in `rescue in require_frameworks'':
2003 Nov 27
4
RFC3389 support incomplete
Hi When i make a call using IAX2, the log of the remote asterisk say Nov 17 20:20:12 NOTICE[28686]: File rtp.c, Line 263 (process_rfc3389): RFC3389 s upport incomplete. Turn off on client if possible Nov 17 20:20:22 NOTICE[28686]: File rtp.c, Line 263 (process_rfc3389): RFC3389 s upport incomplete. Turn off on client if possible Nov 17 20:20:26 NOTICE[28686]: File rtp.c, Line 263
2009 Jul 26
2
[LLVMdev] [Cygwin] error building llvm-gcc
I am getting an error building svn llvm-gcc on Cygwin :- /home/ang/build/llvm-gcc/./gcc/xgcc -B/home/ang/build/llvm-gcc/./gcc/ -B/usr/llv m-gcc/i686-pc-cygwin/bin/ -B/usr/llvm-gcc/i686-pc-cygwin/lib/ -isystem /usr/llvm -gcc/i686-pc-cygwin/include -isystem /usr/llvm-gcc/i686-pc-cygwin/sys-include - O2 -I/home/ang/svn/llvm-gcc/gcc/../winsup/w32api/include -O2 -g -O2 -DIN_GCC -W -Wall
2009 Jul 23
1
usb passthrough
If I understand the docs (http://www.nabble.com/-RFC--PATCH-0-4--PVUSB:-add-paravirtualized-USB-s upport-for-Xen-td22550607.html), I can''t have a USB harddisk used by Dom0 and also pass through another USB harddisk to DomU, because Dom0 will claim the device. Is this a fundamental issue that can''t be solved without a lot of mucking around or is there an easier way around it?
2006 May 30
1
Error in mongrel_rails script with Cygwin/Mongrel/Rails
Hi, I am experiencing an error in the mongrel_rails script on a pc under cygwin/mongrel/rails. My installation details and error are as follows: With some guidance from various blogposts out there, I installed Cygwin on a Windows XP box followed by: Ruby 1.8.4(via cygwin setup), Gems (0.8.1 via ruby install.rb), Mongrel .3.12.4 (via gems), Rake 0.7.1(via gems, GemPlugin (via gems), Rails (via
2009 Jul 26
0
[LLVMdev] [Cygwin] error building llvm-gcc
Hi Aaron, Which revision are you building? Assuming TOT, it's possible this is a bug that I introduced/triggered with the name changes. I know nothing of the status of cygwin however, can you confirm that this used to work? If you use r77097, does it work? - Daniel On Sun, Jul 26, 2009 at 4:23 AM, Aaron Gray<aaronngray.lists at googlemail.com> wrote: > I am getting an error
2010 Dec 07
9
[Weft QDA users] working on team using weft
Hi all! I am Angela, an Italian researcher and I am looking for an application that allows working in team, making a shared codebook, share a text database and code it. I tried AnSWR (the CDC''s QDA application) but its installation is too complicated for students and it is not working on latest version of Windows. What about Weft? Is it possible to share a project or, at least, merge
2009 Sep 18
13
Rails 2.2.3-1 Problem
After installing the rails I faced this problem. If anyone aware of this problem, kindly give solution for this. vellingiri@WebDevel:~/public_html/Isync$ ./script/server => Booting WEBrick... /usr/local/lib/site_ruby/1.8/rubygems.rb:149:in `activate'': can''t activate activeresource (= 2.3.4, runtime), already activated activeresource-2.1.0 (Gem::Exception) from
2006 Aug 14
0
ActionMailer in an infinite loop? Looks like framework bug.
I would rather post this on the dev list since it looks like only the developers can explain why this is failing. However, I can''t find where you subscribe to it! Any ideas? Here is my problem. Whenever I try to send an email I get a SystemStackError saying stack level too deep. Here is the exception trace:
2006 Mar 23
11
ActiveRecord: Oracle metadata loading slow on large database
All, While attempting to use ActiveRecord against a large database, approx. 1700 tables and 4 million rows, I discovered an inefficiency in oci_adapter.rb. The problem seems to be the SQL being generated to lazy-load the columns metadata. "def columns(table_name, name = nil)" method generates the following SQL: select column_name, data_type, data_default, nullable,
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
2012 Apr 04
1
sambaHomePath usage
My name is Camelia Botez and I'm linux system admin. I try to configure samba server usind ldap authentication and different sambaHomePath from login home directory. For ex. A user user_test has his home (login) directory /home/user_test and I want , using samba map on windows to have /srv/user_test home directory for this user. We included in ldap schema 2 attributes sambaHomeDrive (H: ) And
2003 Aug 13
0
Password change problems
Dear Sir I?m terribly confused about one problem in our environment. We have one NIS+SAMBA environment, running in E450 with Solaris 7. Apparently, after one system patch application, the password change is not working. Please look this: 1) In the server, with root account: # passwd user_test New password: Re-enter new password: NIS passwd/attributes changed on server passwd (SYSTEM): Password
2010 Aug 05
5
asset_host and ActionMailer
After digging through the rails code to figure out why my asset_host wasn''t getting applied to emails, I realized that it''s because the config object in the context of a mailer is config.action_mailer and not config.action_controller. This means you need to set asset host separately for emails, as config.action_mailer.asset_host. Should this be considered a bug? Is it really
2006 Apr 13
3
Salted Hash Login Generator problem
Im trying to install salted and get errors when running the rake test... /usr/bin/ruby1.8 -Ilib:test "/usr/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake/rake_test_loader .rb" "test/unit/localization_test.rb" "test/unit/user_test.rb" Loaded suite /usr/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake/rake_test_loader Started ........F....E Finished in 0.108794 seconds. 1)
2011 Apr 18
2
rubygems fail - require hpricot!
Hi guys, I wanted to fetch some info from webpage and use it in my db. I read hpricot is one way to do it. But the problem is I''m unable to use it with my app. For some reason after successfully installing hpricot it fails when I try to use it in the rails console. I''ve been trying to fix this for the last four-five days. I''m stumped ! I tried re-installing everything
2004 Nov 03
5
FireFly Problems
How come FireFly doesn't give me an Inband DTMF option? Only RFC2833 and Info. RFC2833 is the default, so I left it that way. I also unchecked all the codecs except g711ulaw to force that codecs usage. However, when I go to place a call, I get this: Nov 3 13:18:44 WARNING[53641241]: dsp.c:1468 ast_dsp_process: Inband DTMF is not supported on codec G.711 u-law. Use RFC2833 Nov 3 13:18:44
2006 Jul 31
0
validates_confirmation_of won''t work
Hello folks, this is the first time I''ve written to this forum. If there''s already a topic on this, forgive me but the search isn''t working right now. I seem to have a problem validating confirmation of a password. The first two snippets are some model code and some test code that work just fine: ---------------------------- class Challenge < ActiveRecord::Base
2006 Apr 28
2
Accessing fixtures from unit tests
I have set up some fixtures in test/fixtures/users.xml: # Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html admin: id: 1 username: admin password: admin pbarry: id: 2 username: pbarry I have a unit test for my user model: require File.dirname(__FILE__) + ''/../test_helper'' class UserTest < Test::Unit::TestCase fixtures :users def