search for: awdwrv2

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

Did you mean: awdwr2
2007 Jan 18
2
How to use API from AWS -- help!
...ser'' web_service_api UserApi then my method implementations. 3) ApiDefinition: UserApi.rb - this file has all of my "api_method" calls and details what methods expect and return. Now, that''s how I''m setup, and I''ve tested all of this and followed the AWDWRv2 book. My problem is trying to access these methods from a completely new application, so continuing: $> rails newapplication - "newapplication" will be one of the many applications that must use the users web service to register and login, etc. How can I access these methods? Here...
2007 Apr 10
5
Difficulty with body in ActionMailer
AWRDwRv2 is pretty vague on the @body part of setting up a mailer. Here is my problem: >> p = Person.find(1) => #<Person:0x45c944c> >> SiteMailer.request_admin_approval(p) NoMethodError: You have a nil object when you didn''t expect it! You might have expected an instance of Array. The error occurred while evaluating nil.[]= from site_mailer.rb:10:in
2007 Mar 26
5
Session trouble
I am having a problem with an assignment to an object stored in session. for example when I am in console o = NewOrder.new # dl = DeliveryLocation.new # o.delivery_location = dl #=> returns a delivery location object # o.delivery_loaction.save #=> returns true when I am using the controller delivery_location = DeliveryLocation.new(params[:delivery_location])
2007 Apr 01
12
How to List Records in Descending Order?
I am brand-new to RoR and have only followed and replicated the few tutorials that are out there. I have searched and searched, but cannot find an answer to this simple question: How can you list records in descending order? I have the cookbook example loaded, but can''t seem to list the recipes in reverse order (by the primary key - id). Thanks ahead of time for any and all help. --