search for: rasfast

Displaying 6 results from an estimated 6 matches for "rasfast".

Did you mean: rafast
2008 Sep 07
8
How do I make an API?
Hi! I''m a new developer trying to get into Ruby on Rails. My team is developing an iPhone application that wants to call our Ruby on Rails web-end to store and retrieve data. I''ve looked on the web and in this forum but the only things I could find were dealing with scaffolding, which a) didn''t solve the problem clearly for me and b) we''re not using
2008 Sep 02
5
Appending a record to a table
Hi I''m not too sure how best to explain this but here goes! I am trying to write an appointment system. I have, through example, just about got the dynamics correct. Even tried to play with some table joins (and excuse me if I''ve used the incorrect terminlogy). But no matter what I try I can''t seem to get the following code to work. I have a cart filled with Treatment
2008 Sep 11
2
respond_to and format
Hello! I use a "format" parameter in my application for internal calculations. But Rails catches it and uses for view name. I mean, if I go to url: myapp.com/foo/?format=xml Rails tries to show me index.xml.erb view, but I don''t want this! I want the application to continue showing index.html.erb template. How can I do this? Thanks :)
2008 Oct 21
0
POST request with custom headers
Hello! I want to send a POST request with some additional custom headers. How can I do that? I have checked next libraries: Net::HTTP, ActiveResource, XMLRPC But I didn''t find necessary functionality. Can you suggest please? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk"
2008 Dec 18
2
Render a view from console
Hello! In my application I''m trying to render a view from a class in /lib folder. I have found that it''s very similar to render a view from console. So, I have tried different methods: >> string = ActionView::Base.new.render( :inline => ''works'', :layout => false ) => "works" >> string = ActionView::Base.new.render( :template =>
2008 Dec 17
3
Access from common class
Hello! I have made a common class and put it to the /lib folder of my Rails application. Now I have some problems with access to: 1. Mailers Call to SupportMailer.send_activation_email gives an error: NoMethodError (undefined method `send_activation_email'' for SupportMailer:Class): Ok, I have changed my SupportMailer class - give a prefix to the function function send_activation_email