Displaying 20 results from an estimated 800 matches similar to: "Debugging woes"
2006 Apr 04
6
Oracle Problem. Maybe driver
EVerything runs ok on my local machine but when i copy my app to our
solaris server everything is fine until i try updating/inserting
something into the DB.
This is the error message :
wrong number of arguments (1 for 0)
RAILS_ROOT: config/..
Application Trace | Framework Trace | Full Trace
2009 Apr 01
1
Erro de update no rails 2.3.2
Pessoal, estou precisando de ajuda...
Estou usando o rails 2.3.2.
Quando tento fazer qualquer update (método save em um registro
existente), recebo o erro abaixo:
ArgumentError in RequisicaosController#enviar_rede
wrong number of arguments (3 for 1)
c:/ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active_record/
base.rb:2875:in `attributes_with_quotes''
2006 Jul 18
1
Saving an ActiveRecord object
I get this error when I try to save an object that extends of
ActiveRecord:
NoMethodError in TeamController#add_player
You have a nil object when you didn''t expect it!
The error occured while evaluating nil.keys
....
....
#{RAILS_ROOT}/app/models/player.rb:17:in `create_player''
#{RAILS_ROOT}/app/controllers/team_controller.rb:53:in `add_player''
And my Player model
2008 Dec 20
9
Upgrade to Rails 2 - problem with "save" (MySQL boolean issue?)
I have been working through an upgrade of my 1.2.6 application to
2.2.2.
I am almost there but I have hit a problem with ActiveRecord.
Before the upgrade, the following code was working fine.
def create_root(administrator)
root = create_root_collection(self.pingee_name,
administrator,
2006 Oct 16
3
Strange ActiveRecord error popping up
Hello guys, I''m developing a new app in Rails, and every now and then
I get an ActiveRecord error, I cannot reproduce exactly what triggers
it, hope you can help me, or give me tips on debugging this kind of
stuff. This time I got the error reporting page, but normally I would
just see the 500.html page, with no info about what went wrong.
This is the error (it''s the complete
2006 Mar 29
5
MySQL losts connection, can''t refer to User
Hi
Another problem here. After the upgrade to 1.1 both rails and engines,
my app on windows crashes very often on requests. It can''t refer to User
model or losts connection to mysql. It appears like 2-3 times per 10
requests.
Eg.
Mysql::Error: Lost connection to MySQL server during query: UPDATE
sessions SET `data` =
2006 Jan 18
15
Anyone got Globalize working???
Hi all
In another thread I complain about an error I get after trying to get
Globalize working.
http://www.ruby-forum.com/topic/51988#new
Now I want to ask you, if anybody of you has ever got Globalize working?
I have done exactly what''s written in the (absolutely much too short)
tutorial of its wiki...
http://globalize.diluvia.net/wiki
...and I''m very frustrated that no
2007 May 31
0
Rails AR/SQLServer Unit Test: [6912] failed (but getting better)
"bitsweat" has given AR/SQLServer some love, but it''s still unhappy...
http://dev.rubyonrails.org/changeset/6912
------------------------------------------------------------------------
r6912 | bitsweat | 2007-05-31 10:15:56 -0700 (Thu, 31 May 2007) | 1 line
Fix an edge case with find with a list of ids, limit, and offset. Closes #8437.
2006 Feb 22
3
Unit test failure - nil object?
I''m following instructions in the Agile book, page 146 for testing an
object update to the database. Here''s my code:
def test_update
assert_equal "jack@smiths.com", @user.email
@user.email = "jack@smiths.org"
assert @user.save, @user.errors.full_messages.join("; ")
@user.reload
assert_equal @user.email,
2006 May 19
2
update_attributes
My application is so far mostly built from scaffold.
When I edit an existing record (I''ve turned off validation) the update
method is called. I get this error:
NoMethodError in <module>/<controller>#update
You have a nil object when you didn''t expect it!
You might have expected an instance of Array.
The error occured while evaluating nil.+
I get the same error when
2006 Mar 28
2
Rails Oracle connection
I''m using the following configuration in the database.yml to connect to
Oracle,
however I could not connect while the settings seems to be correct:
development_oracle:
adapter: oci
host: 127.0.0.1:8080/XE
username: rubydb
password: rubyrails
What is wrong here?
Can anyonbe help me?
--
Posted via http://www.ruby-forum.com/.
2013 Feb 15
0
[LLVMdev] assert when mixing static and non-static members with an external AST source
FYI, this turned out to be an error of omission in LLDB in SymbolFileDWARF, because the case of a non-defining external (i.e. a static member variable) wasn't being handled with a variable lookup to dig up the location. I'll put a patch together for lldb-commits,
- Ashok
From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] On Behalf Of Thirumurthi, Ashok
2005 Dec 02
0
WEBrick access from other computer
Here''s a strange one. I''m getting into Rails and have installed Ruby and
RoR onto a Linux box for testing (Ubuntu). It all seems to work while
I''m on the linux machine. Using WEBrick I can go to the page and see my
test page.
But I want not have to sit at the linux box to play around, so I tried
accessing the WEBrick server from another system on my network and it
2007 Apr 24
1
Re: Re: Symlinks deletion behaviour
Hi Jeremy,
Thanks for your response, but it doesn't work either with exactly the same symptoms:
[2007/04/24 09:52:43, 3] smbd/process.c:switch_message(926)
switch message SMBrmdir (pid 19730) conn 0x80414a30
[2007/04/24 09:52:43, 4] smbd/uid.c:change_to_user(181)
change_to_user: Skipping user change - already user
[2007/04/24 09:52:43, 5] smbd/filename.c:unix_convert(147)
unix_convert
2006 Mar 29
2
AR 1.14 oracle_adater.rb does not work
the error is :
wrong number of arguments (1 for 0)
where :
active_record/connection_adapters/oracle_adapter.rb:53:in
`attributes_with_quotes_pre_oracle''
this method is new, it was an alias in the previous version :
alias :attributes_with_quotes_pre_oci :attributes_with_quotes
#:nodoc:
I replaced the method by the alias of the previous version, and it is
working fine.
This is
2013 Feb 08
2
[LLVMdev] assert when mixing static and non-static members with an external AST source
So, when performing expression evaluation, lldb trips over an assert in clang/lib/AST/RecordLayoutBuilder because ExternalFieldOffsets doesn't contain a FieldDecl that updateExternalFieldOffset expected. I found that the assert occurs when both static and non-static member variables are present. For instance, with the following, the lldb command 'expr my_test.length()' does not
2006 May 15
0
Execution expired with MONGREL. No problems with webrick
After my action has run for about 2 minutes i always get a timeout. It
doesn''t happen with WEBRICK. As far as i can see there is nothing wrong
with the code
"execution expired
RAILS_ROOT: config/..
Application Trace | Framework Trace | Full Trace
/opt/tools/lib/ruby/1.8/timeout.rb:54:in `clone_attributes''
2003 Mar 31
0
W2K batch scripting error
Greetings all,
I am supporting Samba 2.2.8 on a Solaris 8 platform, and a user is having problems with the rmdir (or rd) command in his W2K batch scripts. The problem relates to the length of subdirectory names when using the /s flag to remove the entire directory tree. It seems that if a subdirectory name is over 12 characters in length, the rmdir command truncates to 12 characters, and then is
2008 Mar 18
2
update_without_callbacks?
Is there a new way to call a method similar to
"update_without_callbacks" on an "after_save"?
I need to calculate a total amount on a row after the row has been
saved.
--~--~---------~--~----~------------~-------~--~----~
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
2006 Nov 04
0
Problems with ActiveRecord, Oracle adapter, find_by_sql, multi-table join - ORA-04043 error
Hi all,
Windows XP
Oracle 10g client
OCI8 0.1.16
Ruby 1.8.5
Rails 1.1.6
I''m hitting weird behavior with the Oracle adapter and a find_by_sql
call on a multi-table join.
The SQL looks like this:
SELECT DISTINCT e1.ip_address, loc.street, loc.city, loc.state
FROM schema.net_element ne, schema.equipment e1, schema.equipment e2,
schema.building b, schema.cust_loc cl, schema.location