similar to: Typo Error: wrong number of arguments (1 for 2)

Displaying 20 results from an estimated 1000 matches similar to: "Typo Error: wrong number of arguments (1 for 2)"

2006 May 14
0
RJS Template not getting called
I have a shared account on Site5.com running Rails v1.0. I installed the RJS template plugin within my project. My controller function gets called, but my corresponding RJS template does not get called. The following is output (any thoughts?): ActionController::MissingTemplate (Missing template ./../config/../app/views//workout/addjournalentry.rhtml):
2006 Feb 25
0
neverending i2/lighttpd problems
So after recompiling ruby a few times to get ssl and readline working, fighting with lighty for awhile, and learning a bit more about linux in the process, I think I''m really close to getting i2 up and running. However, when I try to access my wiki, I get either a blank page or an error 500 and the stack trace below gets sent to the log. If I can''t get this working soon
2006 Jun 07
0
HELP pls - no contact app via browser - via console works!
hi again, having been working on a rails-app for quite a time without experiencing any trouble at all an INTERNAL SERVER ERROR 500 was presented on screen. After that each and every attempt to connect to my app via browser is commented like that : undefined method `link_to'' for #<#<Class:0x253345c>:0x25333a8> (''link_to'' is just an example for a method ...
2007 May 30
2
ActionView::TemplateError
Hi, I have a strange problem that only occurs on the production server. I''ve been banging my head for hours trying to figure it out with no success. Below is a copy of the error from the production log. ActionView::TemplateError (Expected /www/rails_apps/scanlan/current/ public/../config/../app/models/image.rb to define Image) on line #6 of app/views/admin/design/_record.rhtml: 3:
2005 Dec 21
2
Missing error page templates
Whenever I get any errors on my application, I don''t get the regular rails error page with all the debugging information. What could''ve cause this? This is from the logs: ActionView::ActionViewError (No rhtml, rxml, rjs or delegate template found for /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/templates/rescues/template_error.rhtml):
2006 Apr 26
3
My GD2 is not working
I installed GD2 1.0/1.1, but they are both not working, does anyone knows why? Great Thanks! With GD 1.0 I got: ======================================================== RuntimeError unknown symbol "gdImageSquareToCircle" RAILS_ROOT: /home/virtual/site1/fst/var/www/html/imodesite/public/../config/.. Application Trace | Framework Trace | Full Trace
2007 May 23
2
rspec mocha and controller specs without integrated_views
The ability to choose a mocking framework is great as I prefer mocha, but I am have problems. On my controller specs, I am forced to ''integrate_views'' as the following code below shows you, the mocking of views is rspec specific. See stub! versus mocha''s stub unless block_given? unless integrate_views?
2006 Mar 03
1
weird error with login engine
Any ideas what would cause the following exception (using the login engine): -------------------------------------- Full executation backtrace: -------------------------------------- [RAILS_ROOT]/vendor/rails/activerecord/lib/active_record/base.rb:1697:in `execute_callstack_for_multiparameter_attributes'' [RAILS_ROOT]/vendor/rails/activerecord/lib/active_record/base.rb:1677:in
2006 Mar 16
1
login_engine error
Hey All, I have been unsuccessful at getting the login_engine installed. I have used it before but since the last time I''ve used it I can''t get it to work correctly. I was wondering if someone could help out with the following error: undefined method `password_confirmation='' for #<User:0x2aaaad1421a0> Any Help? Thanks, Adam <<<<<<REST OF
2006 Jun 13
0
Yet Another Apache/FastCgi Setup Issue
I have set up FastCGI on the server and added 2 servers/processes and increased the timeout from 30seconds to 60seconds. I _think_ I did that properly because I now have to wait the full 60 seconds like clockwork until I get the "Rails application failed to start" when I browse to my URL. Before it was 30 seconds like clockwork. When I run "ruby dispatch.fcgi" I get the
2006 Jun 28
2
NoMethodError when setting session variable
I know this is dumb, but I can not set a session variable. I get the followig error: Processing Base#edit (for 67.174.108.88 at 2006-06-28 17:17:34) [GET] Session ID: 3c4b2bad18c8bc289b719dc056913be7 Parameters: {"action"=>"edit", "id"=>"11", "controller"=>"image",
2006 May 28
0
How to fix NameError?
Hi, I get the following error in production: Processing Base#index (for 68.146.229.246 at 2006-05-28 14:49:59) [GET] Parameters: {} NameError (uninitialized constant FrontControllerController): /usr/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:195:in `const_missing''
2006 Apr 10
0
Problem with freezing rails to vendor/rails
my vendor dirrectory. But for some reason my app is still using the locally installed gem versions of Rails on TXD. Running svn propget svn:externals vendor returns: rails http://dev.rubyonrails.org/svn/rails/tags/rel_1-1-1/ Here is the error I''ve been getting (app started using the TXD rails.sh script): NoMethodError (undefined method `const_load!'' for
2006 Jul 31
0
rescue_action_in_public useless to capture low level errors
Hi all, I''m trying to make for nicer system error handling, with the help of rescue_action_in_public (see Recipe 47, in ''Rails Recipes'') PROBLEM: While it lets me capture an incorrect db name in database.yml (for example), with lower level errors like when the DB server is just down, I still get the default system error screen for MySQL::ERROR :
2006 Jan 18
1
Problem with OCI in Apache
My Application runs fine when run on webrick, but throws up database error when run from apache. this is the copy of the FULL TRACE i get /usr/local/lib/ruby/site_ruby/1.8/oci8.rb:131:in `create'' /usr/local/lib/ruby/site_ruby/1.8/oci8.rb:131:in `initialize'' /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/connection_adapters/oci_adapter.rb:515:in
2006 Apr 02
2
Problem with lighttpd on mac
Hi, I followed the instructions I founded here : http://developer.apple.com/tools/rubyonrails.html I can run a small RoR application with webrick, everything is fine in this case. But when I try to use lighttpd i can access http://localhost:3000/images/rails.png for example but not a dynamic page. In the latter case I dont get any page, the browser is just waiting infinitely. If I force
2006 Jun 05
1
file_column & RMagick
Hi, I have a site where I wish to upload a resize a picture, and store it in the file system. The best solution that I have found for this so far is using file_column. This was working great, for about an hour, but all of the sudden I began to get the following error (only when i attempt to resize). NameError (undefined method `assoc'' for class `Magick::ImageList''):
2006 Nov 04
0
ProbleM!!!!!!!!!!!!!!!!!!
Hi, I trieed umpteen times to connect ruby on rails to MSSQL server using the standard procedures and I always get the samw error. As I was previously working with MYSQL I faced no problem .Now at a time critical situation I need a solution for this........... Open OLE error code:800A0E7A in ADODB.Connection Provider cannot be found. It may not be properly installed. HRESULT error
2006 Mar 07
6
fcgi dispatcher crashing
I''m trying to set deploy an app on apache2 with the fcgid module, but can''t seem to get anywhere. Things work fine with cgi, but when i switch to fcgi, i''m stuck with a ''503: Service Temporarily Unavailable''. There''s no error being logged anywhere, afaik. Trying to run dispatch.fcgi from the shell doesn''t work either. It bombs out,
2006 Jun 16
5
Application Error
Hi Folks, When I have tried this cookbook example from onLamp tutorial, I got some error like this, output of development.log is ---------- Permission denied - /var/www/html/cookbook/public/../config/../tmp/sessions//rub y_sess.d51d8997edf6be91 only the first line of output is this, output truncated. --------- what it will be ? How to solve this ? In my browser, I am getting Applicaiton