similar to: just installed rails on ubuntu, error creating rails dir -->unexpected token: ''#<RubyToken::TkLPAREN:

Displaying 20 results from an estimated 2000 matches similar to: "just installed rails on ubuntu, error creating rails dir -->unexpected token: ''#<RubyToken::TkLPAREN:"

2006 Jun 07
1
Web Service: NoMethodError (missing attribute: featured) !?!?!?!?!
Hi all - I have a Player model. The database looks like this: +-------------------+--------------+------+-----+---------+----------------+ | Field | Type | Null | Key | Default | Extra | +-------------------+--------------+------+-----+---------+----------------+ | id | int(11) | NO | PRI | NULL | auto_increment | | fname |
2006 Mar 28
11
ActionWebService date casting error
I have defined a web service to return information from a database as follows. class BackendApi < ActionWebService::API::Base api_method :find_all_vobs, :returns => [[:int]] api_method :find_vob_by_id, :expects => [:int], :returns => [Vob] class BackendController < ApplicationController wsdl_service_name ''Backend''
2005 Dec 30
4
soap4r 1.5.5 seems to break actionWebService tests
Hi, I just upgraded to soap4r 1.5.5, and now all my Rails Functional tests for the action_web_services fail as follows, any ideas what I did wrong? Thanks TypeError: can''t modify frozen object /usr/local/lib/ruby/1.8/xsd/qname.rb:78:in `name='' /usr/local/lib/ruby/1.8/soap/rpc/element.rb:118:in `set_param''
2006 Apr 14
8
Error with Web Service tests after upgrading to Rails 1.1.2
Hello. I hope this is the right place to describe my problem ? After upgrading to Rails version 1.1.2 from rails version 1.0.0, Web Service functional tests seem broken. I upgraded rails (as the root user / administrator) with: # gem update rails --include-dependencies then I upgraded my application (as myself) with: ? rake rails:update % rake rails:update:configs After these steps,
2006 Apr 11
9
Rails failure after upgrade to 1.1.2
Greetings, I tried upgrading Rails to 1.1.2 and now nothing is really working. In connection to the Rails upgrade I upgraded my Ruby version to 1.9.0. I also upgraded all my gem installs. Since my old rails apps stopped working I tried generating a fresh one , alas with the same result. Below I included the full trace when trying to reach the app. Line 3 in application.rb is : class
2006 Jan 03
2
Newbie Install Question
Hi, I''ve been trying to get rails going on one of our dedicated servers, with no luck. I have ruby installed, gems, etc... When i goto to create my first rails app i get this: rails test /usr/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/ associations/association_proxy.rb:6: warning: instance_methods: parameter will default to ''true'' as of 1.8.1
2006 May 19
2
Problems at running Rails at the first time
Well, i got familiar with writing Ruby scripts the last days and thougt to write a web application with a framework. First steps was Rails. I successfully installed Gems, Action Web Service and Rails, at least the installer said so... :D So I took a tutorial to write a small app, but I fail in the step startig Rails with the command "rails myappdir". There are some warnings and error
2006 Apr 17
5
XML-RPC Webservice API
Hi, After following the excellent tutorials in the Agile Web Development with Rails book, I was able to get my webservice working pretty much perfectly :) I can access it via SOAP and XML-RPC and look at service.wsdl to find the API. What I can''t do however is get the API for the XML-RPC call. It fails with : Internal protocol error: NilClass is not a valid input stream. It must
2005 Dec 30
5
AWS api_method :returns not accepting ActiveRecord::Base
I''m trying to use the feature of AWS where it will take an object derived from ActiveRecord::Base instead of an AWS::Struct object. Whenever I try it, though, I get the craziest error: NoMethodError: You have a nil object when you didn''t expect it! The error occured while evaluating nil.new /usr/lib/.../actionwebservice/lib/action_web_service/casting.rb:105:in
2007 Aug 17
1
Testing webservices in Integration Tests with Jamis Buck's recipe?
Hello, I''m using Jamis Buck''s recipe to do integration tests on an application, but I got a nil.recycle! error while doing a webservice call. This is the situation. def test_uploading_data invoke :upload, data invoke :upload, even_more_data real_user_session = new_session_as @real_user real_user_session.press_magic_button_to_enable_more_uploads invoke :upload,
2007 Dec 13
3
Realise a web service with ruby on rails.
Hi , I want realize a web service with rails, but it''s the response it''s very slow. I want only saw all element present in my base. I did a base Customers (with element like id, name, phone,...). I added two elements. I did a model customer, a web_service customer. In the file /app/apis/customer_api.rb class CustomerApi < ActionWebService::API::Base api_method :listid,
2005 May 31
2
Rails Web Services
This deals with the Rails book, but ActionWebService in general. I''m having trouble getting the Rails book''s example in the Web Service chapter working. Everything else works (all the ''depot'' site features up to that point have been built and work). I don''t think it''s an issue with the book code being wrong, because the ActionWebService API
2008 Apr 19
1
Problem with Active Web Service on InstantRails
Hi, I''m trying to install and use activewebservice on Rails 2.0.2(using instantrails) the gem install activewebservice finished succesfully. walked through the steps listed at: http://www.texperts.com/2007/12/21/using-action-web-service-with-rails-20/ when I try to start mongrel I get the following trace ** Starting Mongrel listening at 0.0.0.0:3000 ** Starting Rails with development
2007 Mar 19
0
action_web_services error with rspec_on_rails
I now have two specs in my rails project which correspond to one rails controller. I can run them individually and they pass, but running them together (either with the rake task just putting both files on the command line): euclid% spec spec/controllers/crud_resource_controller_spec.rb spec/ controllers/crud_resource_controller_with_join_models_spec.rb
2006 Jul 31
5
ActionWebService API
Hi *, I need to pass a hash to a webservice, so I defined my API with: api_method :search, :expects => [{ :tags => :string, :assignment => :string, :resource => :string, :lesson_plan => :string, :subject => :string, :all_types => :string }], :returns => [[Resource]] when I try to test the webservice with scaffold the
2006 Apr 17
7
Should Perl talk to Rails via LWP
Hi folks, I need your opinions on a basic design issue. I''ve seen the light of RoR and have replaced my Perl (DBI/CGI) based web server <-> RDBMS communication with RoR, but I still have a whole host of users (other servers/OS''s etc) out there wanting to talk to my RDBMS and they only talk Perl. Also they don''t want to talk Perl/DBI directly (they are not allowed
2005 Feb 24
8
web services with ActionWebService
<noobalert> Uh, yeah. So my noob self is showing through again. I''m trying to write a simple hello-world type web service with the ActionWebService thingy. I didn''t get very far. I''ve only done web services stuff in .NET, so I''m not exactly used to this sort of thing. Anyhow, I have a file, person_api.rb in my app/apis folder. I want to take a single
2006 May 25
3
webservice timeout issue
I am having an issue where I am trying to test a weservice that I wrote by connecting to it from ruby. When I submit my form that calls the webservice it times out. you can see from the lighttpd log that the webservice completes just after the timeout. any ideas? am I doing something wrong? ---- source ---- def validate auth = ActionWebService::Client::Soap.new(AuthApi, "
2005 Aug 23
8
Web Services testing... Agile Book p. 435
I am attempting to test the web services added during chapter 20 of the Agile book. The code as written in the book yields 2 errors: test_find_product_by_id(BackendControllerApiTest): XMLParserError: syntax error Anyone hit this yet and get it to work? Thanks. Ken _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
2005 Apr 06
3
NameError in <controller not set>#<action not set>
I can''t figure out why I''m getting the following error. There''s nothing wrong in my communities_controller file. And the helper for communties exists. Any ideas? Thanks, Joe NameError in <controller not set>#<action not set> uninitialized constant CommunitiesHelper app/controllers/communities_controller.rb:1 script/server:48 Show framework trace