search for: glenatron

Displaying 4 results from an estimated 4 matches for "glenatron".

2006 Feb 03
3
My associations are coming out nil.
I''ve got a fairly simple system with a table for my Users that includes a CountryId field which looks up to the CountryId field of my Country table. What I would like to happen is for my Rails application, which contains models for both User and Country, to be able to draw the dropdown list of available countries on the edit page, like it does in all the tutorials. My model classes look
2006 Jun 02
7
Unit Tests crashing out for a table without an ID
I''m having problems unit testing my model- I have a kind of quiz functionality user table and a question table and a user_question_response table that contains the id for the user, the id for the question and the user''s response. The user_question_response has it''s own model belongs_to/has_many with users and questions and it works fine in the actual application but
2006 Jan 27
0
Getting a basic web service up and running with ActionWebService
So I have created a bunch of code and had it wrappered nicely as a web service using the standard soap.rpc stuff that packs with Ruby, but I needed to be able to generate a WSDL file to go with it and from what I can tell the easiest way to do that is to switch to ActionWebService with Rails. I''ve read through the AWS book which is fine but I don''t quite know enough about how
2006 Jan 31
2
Creating a web service with AWS
So I''ve read the Action Web Service bit of the documentation for a while, searched around and asked on the IRQ channel and I just can''t seem to get a simple Hello World type web service up and running with AWS on Rails. I have a file called hello_person_api.rb which looks like this: class HelloPersonAPI < ActionWebService::API::Base api_method :HelloName, :expects