similar to: Actionwebservice

Displaying 20 results from an estimated 5000 matches similar to: "Actionwebservice"

2007 Oct 24
7
NameError in CustomersController#index
I''m new to Rails. I finished the Cookbook tut. no problem. I''m trying to start a project of my own, follow the same instructions but the difference is I created the database myself. After I create the scaffolds and try them out I get this error NameError in CustomersController#index uninitialized constant Customer RAILS_ROOT: ./script/../config/.. Application Trace |
2008 May 07
1
uninitialized constant HelloadminController::HelloApi
I have built up a simple allication for web service interaction. But the following error message occured: uninitialized constant HelloadminController::HelloApi service api class HelloApi < ActionWebService::API::Base api_method :getMsg, :expects => [:name=>:string], :returns => [:string] end service controller class HelloController < ApplicationController
2008 Feb 01
1
Rails routing and active scaffold fight to the death
Just kidding, it''s not as bad as it seems. Right now I don''t have much in my route.rb, and I''m getting this in my console: Processing ApplicationController#index (for 127.0.0.1 at 2008-02-01 14:54:00) [GET] [2008-02-01 14:54:00] (552) INFO Session ID: a8eeb58764d872bbd1fdb337636e68e7 [2008-02-01 14:54:00] (552) INFO Parameters: {} [2008-02-01 14:54:00] (552)
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
2007 Jan 15
5
ActionController::UnknownAction (No action responded to xxx)
I have a new method defined in a existing controller. All the methods I called in these are workable. But somehow the new method is not recognizable. ------------------new method I added-------------------------------------------- def push # if fair begin @product = Product.find(params[:id]) rescue logger.error("Attempt to access invalid product #{params[:id]}")
2007 Apr 11
1
error about "gem install mysql -r "?
ruby 1.8.6 (2007-03-13 patchlevel 0) [i486-linux] Rails 1.2.3 ------------------------------------------------------- debian:/home/ror# gem list -l *** LOCAL GEMS *** Service layer for easy email delivery and testing. actionpack (1.13.3) Web-flow and rendering framework putting the VC in MVC. actionwebservice (1.2.3) Web service support for Action Pack. activerecord (1.15.3)
2008 Apr 13
8
Brand new to rails: can't get databases to work
Just starting to learn rails. All is going well, until I tried to hook up a database. "undefined method `model'' for ZingerController:Class" is the message I get from the server. I imagine I''ve left something out that is keeping me from connecting to the database, but I''m not exactly sure what. Your help is appreciated. bests, -rsr- session dump:
2010 Apr 09
3
"We're sorry, but something went wrong"
can anyone help with this??? /!\ FAILSAFE /!\ Thu Apr 08 16:58:27 -0700 2010 Status: 500 Internal Server Error unknown error C:/Ruby/lib/ruby/1.8/dl/import.rb:29:in `initialize'' C:/Ruby/lib/ruby/1.8/dl/import.rb:29:in `dlopen'' C:/Ruby/lib/ruby/1.8/dl/import.rb:29:in `dlload'' C:/Ruby/lib/ruby/1.8/dl/import.rb:27:in `each''
2010 Mar 12
7
"We're sorry, but something went wrong." from RoR app
Hi All, "We''re sorry, but something went wrong." is the message I got when I started up an RoR app in the environment: Rails 2.3.5 Ruby 1.8.6 WinXP-Pro/SP3 Firefox 3.6 MySQL 5.0.37-community-nt Mongrel The app under development was working fine until I (stupidly) thought I needed to upgrade MySQL to 5.1.44. I took the precaution of MySQL-dumping the development db before
2007 Jul 19
7
NoMethodError in partial driving me mad
Hello, i simplified have a news model, a news category model and a news controller. my _news.rhtml partial renders a single news entry. in my controller there are the actions show and show_category. if the "show" action is called, a single news item is rendered through my partial with no errors. if the "show_category" action is called, i get a NoMethodError while displaying
2007 Jun 25
2
undefined method `each' for ***:Class PROBLEM
Hi, i am very new to ROR, this is my 2nd day since i solve the problem of database connection. when i started to write some codes, i got stuck. here is the situation and please give me some help. i have a "posts" table in my database CREATE TABLE `mapapp`.`posts` ( `id` int(11) NOT NULL auto_increment, `title` varchar(255) default NULL, `body` text, PRIMARY KEY (`id`) )
2007 Oct 24
8
validates_confirmation_of not working
Hello to everyone, Well, very frustrated with this one because I am following the example straight from the documentation and it is not working. First when I try: validates_confirmation_of :password, :on => :password_update (password_update is a def in my User model which works fine without this validation in please) I get the following error: TypeError in UsersController#update_password
2006 Aug 22
4
Native Extensions on Windows 0.10 series
Hi all, I''ve just noticed that 0.10 is out and wanted to give it a try on windows. I''m not at all an VS C++ Developer so I might do something very stupid here. My env: Windows Server 2003 VS .NET 2003 On the command line with nmake from VC7 in the path this is what I get: Attempting remote update of ferret Building native extensions. This could take a while... Microsoft
2005 Nov 02
1
Windows, Segmentation Faults, config.load_paths and config.cache_classes
I am doing some testing with the rails trunk, version I switched to because of memory leaks in 0.13.1 under linux environment. Right now the application is running fast and steady under linux, with no memory leaks using SCGI Rails Runner 0.4.3 from Zed, BUT it has become unusable under Windows (our main development environment) where I am getting a lot of segmentation faults. BUT the problem
2009 Sep 26
2
Config XLSUITE in Windows
I try to config XLSUITE in my system. I''m facing some problem i resolved it one by one. now im facing this error => Booting Mongrel (use ''script/server webrick'' to force WEBrick) => Rails 2.2.0 application starting on http://0.0.0.0:3000 => Call with -d to detach => Ctrl-C to shutdown server ** Starting Mongrel listening at 0.0.0.0:3000 Exiting
2006 Oct 05
2
0.36 release problem?
I tried sending this a day or two ago but I didn''t see it appear. I''ve just tried the wxRuby 0.36 release but appear to get the following error (I got it from bigdemo.rb too). C:\opt\ruby\lib\ruby\gems\1.8\gems\wxruby2-preview-0.0.36-i386-mswin32\samples\minimal>minimal Our Initialize was called Their Initialize returned 1
2007 Aug 10
3
[ win32utils-Bugs-12979 ] Error while trying to update my gem collection
Bugs item #12979, was opened at 2007-08-10 15:29 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=411&aid=12979&group_id=85 Category: windows-pr Group: None Status: Open Resolution: None Priority: 3 Submitted By: Nobody (None) Assigned to: Nobody (None) Summary: Error while trying to update my gem collection Initial Comment: C:\ruby>gem update Updating
2007 Nov 21
3
Mongrel Timeout?
Hi, I am using a railsapp to call an external app and print some barcode-labels. My problem is, after a while there seems to be a timeout. Then I need to stop the Mongrel-Server and restart it. Below you can see the error message, when i stop the server. Has somebody seen this before? Greetings, Oli C:\etikett>mongrel_rails start -d -e production ** WARNING: Win32 does not support daemon
2009 Jul 29
0
Problem uploading file to database mysql blob field
Hi All, Please help me ,I need to look into this issue asap, I need to change the redmine functionality of uploading files to disk to upload them to database. I tried suggestion on http://dizzy.co.uk/ruby_on_rails/contents/store-file-uploads-in-database but no luck , My form is multipart but still getting the error. Please bare with me I am new to ruby and rails. Here is the like for my
2007 Jun 02
2
Unit tests breaks with sqlite
Hi, I''m using an sqlite3 database with Rails and have some trouble running unit tests What I''ve done is * rails my_app * edited database.yml to use sqlite3 adapter, db/my_app_development and db/my_app_test * ruby script\generate model user * edited model class User < ActiveRecord::Base validates_presence_of :name validates_uniqueness_of :name end *