Displaying 20 results from an estimated 8000 matches similar to: "flash should be empty (typeError)?"
2007 Nov 25
4
is notify resevered word?
Hi,
When I added this association...
class User < ActiveRecord::Base
has_one :notify
end
...and tried then to update column in User table it will call queries
for notify table automatic?
Output
---------------------------------------------------------------
User Columns (0.041488) SHOW FIELDS FROM `users`
User Load (0.001544) SELECT * FROM `users` WHERE (`users`.`nickname`
=
2006 Feb 27
1
InPlaceEditor on an empty div
Hi,
I am wondering what the trick is to use InPlaceEditor on an emtpy div.
I have a set up where one div contains a question, and next to it is
an emtpy div which should be used for InPlaceEditor. The user clicks
on a button "answer" and that activates the InPlaceEditor in the
appropriate div.
This doesn''t work, however. The div which should use InPlaceEditor
must
2007 Aug 09
0
TypeError: $_ value need to be String (nil given)
Hello all,
I am trying to run a unit test in a Rails project of mine (Rails
1.2.2, Ruby 1.8.4 (2005-12-24) [i486-linux]), and am running into the
following error:
1) Error:
test_pattern_splits(PatternSplitTest):
TypeError: $_ value need to be String (nil given)
/usr/lib/ruby/gems/1.8/gems/activerecord-1.15.2/lib/active_record/
validations.rb:74:in `split''
2008 Jun 30
1
[PATCH] tools/python: fix TypeError for 17903:0728459b3c8d
Hi,
If `hda'' is used in a domain config file and domain-0 has /dev/hda,
creating the domain failed by TypeError:
File "//usr/lib/python/xen/xend/server/blkif.py", line 84, in
getDeviceDetails
(device_path, devid) = blkif.blkdev_name_to_number(dev)
TypeError: unpack non-sequence
Signed-off-by: KUWAMURA Shin''ya <kuwa@jp.fujitsu.com>
--
KUWAMURA
2009 May 12
0
RJS Error: TypeError: while using active scaffold
Hi,
I get an unexpected error because i havent do any chnages in any
javascript files, after installing active scaffold. Before 1-2 days my
application is working fine but from yesterday i got the error for RJS
as below while i tried for show action.
RJS error:
TypeError: $("#console__private_messages-messages") is null
$("#console__private_messages-messages").html("\n
2007 May 06
2
render :action "call method first?"
Hi,
I know when I call:
render :controller => ''some'', :action => ''thing''
It doesn''t call the method ''thing'' before render the template
''thing.rhtml'', but I need some instance variable which are in the
''thing'' method, how can I let it call the method ''thing'' and then render
2011 Mar 11
2
int to string TypeError annoyance
Hi All,
In Perl,
$db->set_metadata( "foo", 10 );
Results in,
TypeError in method 'WritableDatabase_set_metadata', argument 3 of type
'std::string const &'
It looks like this is thrown by the SWIG
std::string typemap. Does someone with better SWIG skills than me know how
to fix SWIG such that it converts the int to a string rather than croaking?
(And
2006 Aug 02
0
"RJS Error: TypeError: $(element) has no properties"
i have lots of divs, which are added via link_to_remote. now i want to
delete them with a link_to_remote button for each. i am giving them ids
with the same name and a serialized number. when trying to access them
with javascript/rjs, strange things happen: "RJS Error: TypeError:
$(element) has no properties?. is this a rails, rjs or prototype bug? or
am i missing something?
see my code
2006 Jun 24
0
superclass mismatch for class Tag (TypeError)
I am trying to write a ruby script which includes both the ''RubyfulSoup''
gem for HTML scouring, and the rails environment so I can access the
database easily. I get the following error when trying to run this
script.
/usr/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_view/helpers/../../action_controller/vendor/html-scanner/html/node.rb:276:
superclass mismatch for class
2006 Feb 09
0
Extending ActiveRecord creates TypeError
Hi.
I have want to use the following arrangement: Model < CustomClass <
ActiveRecord::Base
My CustomClass has a bunch of code I want to be held in common to all
my models.
What happens however is that if I access a controller that uses
Model, it works. Then on the second view (hitting reload) I always get:
TypeError (superclass mismatch for class User):
2007 Sep 11
1
TypeError => Symbol as array index
Hello,
I''ve got a controller, which I''d like to protect from being accessed by
untrusted users. I saw that you can use before_filter to do it.
I tried before_filter :filter on the page I''d like to protect and then
creating a private method on the super class and it works. I''d now like
to get some information from the controller ... So I tried before_filter
2006 Nov 23
0
TypeError on loading fixtures for integration tests
Functional tests properly load fixtures, but my integration test
chokes:
# def self.create_fixtures(fixtures_directory, table_names,
class_names = {})
# puts("fixtures dir: "+(fixtures_directory.nil? ? "nil" :
fixtures_directory))
It''s only nil for my integration tests. I''m on rails edge. Does anyone
know what I''m doing wrong here?
1) Error:
2005 Dec 07
0
TypeError during a redirection
Hi,
I have a problem with Rails 0.14.3. I have an application which uses 2
databases : oracle and postgresql. I can connect to the both databases
and use them.
The application works correctly (I can reach the controllers, add
records in the databases without errors) but during or after a
redirection I receive an error. I check with breakpoint and the log, I
see in the log : "Redirected
2005 Dec 08
1
Test is not a module (TypeError)
Hi,
We have a project with a db table ''test'' and a corresponding model Test.
When we run rake to invoke our tests, rake fails with the following
error:
/usr/lib/ruby/1.8/test/unit/assertionfailederror.rb:5: Test is not a
module (TypeError)
We believe this is caused by some namespace conflict between our model
named Test and rake''s own internals. If we rename our
2006 Oct 17
0
TypeError (can't convert Bignum into Hash):
This error has been driving me nuts. It happens with no regularity or
pattern and causes a 500 App error. Refreshing will always display as
normal (http 200)
The back trace always starts with
TypeError (can''t convert Bignum into Hash):
/usr/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_record/connection_adapters/mysql_adapter.rb:342:in
`update''
2013 Sep 30
0
TypeError: no implicit conversion of Symbol into Hash when submitting form to upload files
I''m currently new to Rails and Ruby and I''m trying to learn from my
mistakes, this time I''m trying to upload 2 files from a form for later
processing, however, after I hit the "Submit" button. I keep getting this
error:
TypeError in UploadFilesController#create
app/controllers/upload_files_controller.rb:28:in `new''
2008 Jun 13
1
TypeError (can't modify frozen hash) - Production Mode Only
Well, I''ve been testing out my code in production mode, in anticipation
of being able to show off my site soon. Unfortunately, all is not going
as expected. Production mode... well, its behaving differently than
development did. I''ve already had login validation issues, and now it
seems that my PM system is broken.
If a user enters a non-existent username as a recipient of a
2006 Mar 05
1
TypeError in Rpc#invoke_submit
Hi!
I''m getting "TypeError in Rpc#invoke_submit" when trying to get access
my controller api via soap.
What do I have to do?
Here is the full trace:
/home/www/lib/lib/ruby/1.8/xsd/qname.rb:78:in `name=''
/home/www/lib/lib/ruby/1.8/soap/rpc/element.rb:118:in `set_param''
/home/www/lib/lib/ruby/1.8/soap/rpc/element.rb:116:in `set_param''
2004 Dec 09
3
fixture problem, TypeError: nil is not a symbol
When I run rake against Rails 8.5 to test unaltered model tests with
yaml fixtures I get the error and stack trace reproduced below for every
one of my model objects. Has anyone seen something this before? Any idea
what could be going on here?
The following ruby-talk thread may or may not be relevant:
http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/95301.
Thanks much,
2013 Jan 04
3
AIX: TypeError: unsupported operand type(s) for +: '_hashlib.HASH' and 'str'
Hi there!
We're trying to compile Samba 4.0.0 on a fresh install of AIX 6.1 (6100-02-01-0847), with Python RPM's from perzl.org installed into /opt/freeware. We're also using XLC 12.1.
Unfortunately, we can't even run ./configure, as we're getting errors from the waf system. Here's what we get:
bash-4.2# pwd
/admin/tst/build/samba-4.0.0
bash-4.2# ./configure --help