similar to: wrong number of arguments (1 for 0)

Displaying 20 results from an estimated 100 matches similar to: "wrong number of arguments (1 for 0)"

2013 May 08
1
server started as daemon: Application behaves differently from running in console
Hi, running our app from its application folder /app via script/server -p <port> works fine. Starting the rails server (2.3.17) as a daemon via cd /app && script/server -p <port> -d (e.g. as init.d script) our application works in parts, but on several actions throws the error below. It seems that the daemon does not have the correct environment and cannot find the
2011 Aug 12
16
Rack content-length Rack::Lint::LintErrors errors with unicorn
Has anyone seen anything like this before? I can get it to happen all the time if I issue a HEAD request, but it only happens very intermittently on GET requests. I''m using Ruby 1.9.2p180. Any ideas on where to start debugging? 204.93.223.151, 10.195.114.81 - - [11/Aug/2011 21:03:50] "GET / HTTP/1.0" 200 37902 0.5316 app error: Content-Length header was 37902, but should be
2010 Jun 02
8
Read error: #<TypeError: can't modify frozen string> raised from HttpParser
Hey guys, Started running unicorn in a production server like two weeks ago. It''s been running smoothly, but looking at the logs found 44 exceptions like this: E, [2010-06-02T16:17:15.117071 #22680] ERROR -- : Read error: #<TypeError: can''t modify frozen string> E, [2010-06-02T16:17:15.117270 #22680] ERROR -- :
2009 Aug 28
2
Association extension method
In my application a user working at a dropzone can manipulate transactions against customer accounts. Here''s my models: class Transaction < ActiveRecord::Base belongs_to :account end class Account < ActiveRecord::Base belongs_to :dropzone has_many :transactions end class Dropzone < ActiveRecord::Base has_many :transactions, :through => :accounts do def
2005 Oct 11
8
Drag & Drop probs
Hi, I''m just trying out the possibilities of script.aculo.us / prototype having two problems... I have a draggable element with revert:false-property and two dropzones. (The draggables are in a <td> and the dropzones are <div>s if that is important.) 1. I want the draggable element to snap back to its original position when it gets dropped anywhere out of a dropzone. 2.
2004 Nov 05
1
netapps vfiler
Hi, Did anyone here tried to use rsync between a unix machine and a NetApps Vfiler volume? I have strange case where it does create the folders on the vfiler volume but does not copy the files. Command is something like this: rsync -va dropzone pushacc@prod:/launchpad where, * dropzone is the the folder which keeps source files and folders in unix. This folder is owned by a unix account
2013 Oct 23
0
Error: allocator undefined for Proc
I had this problem all of a sudden, just changed some puppet classes in my modules, but no particular stuff or no error in the catalog creation. Env : Puppet master version 3.2.0-rc1 Centos kernel 2.6.32-279.11.1.el6.x86_64 ruby 1.8.7 (2011-06-30 patchlevel 352) [x86_64-linux] Info: Caching catalog for jbossvdbmaster.prod.italy.cloudlabcsi.eu Debug: Searched for resources in 0.01 seconds Debug:
2012 Aug 07
0
hooking NewRelic into Puppet agent
Hello everyone, I''m trying to hook NewRelic into the Puppet agent. Why? Because I''m pretty positive at this point that the metrics Dashboard reports are not accurate / incomplete and I can''t really split out those metrics in stuff like ''which commands take too long'' or ''how long am I waiting on the network'' and so forth. Now,
2002 Feb 12
1
rsync error: received SIGUSR1 or SIGINT (code 20) at rsync.c(229)
Trying to rsync between win2k machines. rsync version is 2.5.3pre (downloaded today) This is the message after 368100 files have been checked: rsync error: received SIGUSR1 or SIGINT (code 20) at rsync.c(229) My cmdline is : c:\sbin\rsync\rsync -az /cygdrive/d/Home xxx@xxx.skelleftea.se::dropZone/GY/ba-disk01 --stats -v -P --timeout=84600 I have tried with both with and without -z (-az or -a)
2008 Feb 28
0
Sortable scroll offset
I am experiencing a problem with scroll when dragging items to my drop area. I tried using the scroll option, looked through other forum disscussions but I have not been able to find a solution. I have a side by side layout where i drag elements from myTable into dropZone. The workArea div has overflow: scroll enabled. My problem is when the list becomes long and I have to scroll down to get to a
2008 Feb 15
1
Sortable limit number of elements
Hello, Well, i need to limit the number of elements in a sortable. I new to scriptaculo but i have lots of experiencie with javascript. Since limit the number of elements is not supported by Sortable i would like to implement, i already took a look at the Sortable class in dragdrop.js and it looks like that onHover and onEmptyHover deal with the update of the UI, however I''m not unable
2011 Mar 07
1
has_one :dependent => :destroy error (in `configure_dependency_for_has_one': compile error (SyntaxError))
Hi I''m getting the following error : /Users/nikosd/.rvm/rubies/ree-1.8.7-2011.02/bin/ruby -e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift) /Users/nikosd/.rvm/gems/ree-1.8.7-2011.02@.../bin/rake test Testing started at 12:00 PM ... (in /Users/nikosd/Work/.../.../...)
2013 May 14
4
rake precompile:assets throwing error
While running rake precompile:assets i''m getting the following error This is the error message: rake assets:precompile:all RAILS_ENV=production rake aborted! undefined local variable or method `establish_connection'' for ActiveRecord::Base:Class Please help -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To
2011 Jan 28
5
mysql quotation wonky
Why would, in an upgrade from 3.0.1 to 3.0.3, a rake db:migrate run this: SELECT "schema_migrations"."version" FROM "schema_migrations" vs this ? SELECT `schema_migrations`.`version` FROM `schema_migrations` __ rake db:migrate output __ rake aborted! Mysql::Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version
2009 Nov 09
1
Active Scaffold Performance
Hi Everyone, I know this is a recurring topic, but currently my application is running very slow and I would like to figure out why. Every transaction, except for the login page, have an average response time in the 8,000~ 14,000ms range (DB: 300ms range), which is absurd. I have implemented action caching and fragment caching on the views, but those only help when there is a cache hit. On a
2005 Nov 22
1
reverteffect - how to deal with this?
Hello everyone. Does anyone know how to deal with this? i try to change the idea of works revereffect:function but for know unsuccesfull. In my project i have to use dragable with revert: true but i don''t want have revereffect. Maybe any idea? Grzegorz Ślusarek ---------------------------------------------------- HARRY POTTER I CZARA OGNIA - PREMIERA KINOWA 25 LISTOPADA: Wejdź:
2006 Oct 06
0
Drag and drop
Hi, I''d like to permit only one picture in the dropzone because althoug I fixed the size of the div, this div resizes automatically to accept more than one item ... Thanks a lot ! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to
2008 May 14
0
draggable gets offset on scrolling when its container is position:fixed
hello, my draggables are located in a DIV which is position:fixed ... so my "cart" stays always at the bottom of the page. when the page gets a vertical scrollbar now, then the droppables zone gets an offset of exactly the scroll ... the same topic can be found here: Having problems with "position:fixed; bottom:0%;" and dropzone div''s Optionen
2012 Dec 04
0
Empty test suite is run after every rake task
When I run rake db:migrate or rake -T I get these lines at the end: Finished in 0.000276 seconds. 0 tests, 0 assertions, 0 failures, 0 errors My Gemfile is: source ''http://rubygems.org'' gem ''rack'' gem ''rails'', ''3.0.9'' gem "acl9", ''0.12.0'' gem "fastercsv"#, :version =>
2011 Sep 08
1
Magic Multi Connections gem + Rails 3.1
Hello, Like in topic, did anyone tried to run this gem under 3.1? I''m getting error that mirror_db_connection is not valid key: ArgumentError: Unknown key: mirror_db_connection from /Users/nopik/.rvm/gems/ruby-1.9.2-p180@christmas/gems/ activesupport-3.1.0/lib/active_support/core_ext/hash/keys.rb:44:in `block in assert_valid_keys'' from