search for: restafarian

Displaying 3 results from an estimated 3 matches for "restafarian".

2007 Jun 22
3
Simulate HTTP put and delete in Camping/SleepingBag
Hello, I''m not yet a camping guru nor a RESTafarian, but I try. Currently I''m trying to build a rest-style web app with sleeping bag/camping and I may successfully access the index, show, new, create and edit methods, that are provided with sleeping bag. But I don''t know, how to build a form or link to access destroy and update....
2006 Feb 13
1
dynamically generating a controller and appropriate routing
I''m working on a library similar to acts_as_taggable. I''d like it to be a simple, one file drop-in: i.e., put my_library.rb into RAILSROOT/lib/ and have everything work. However, the library requires a controller to render some stuff, so I need to be able to create the controller class, set the routing, and extend the controller at run-time from within my_library.rb. I have code
2006 Aug 04
4
REST
...in. "What do mean ''resource''?" I asked. "And 7 actions doesn''t seem to match up very well with the 4 core actions we talked about earlier. What gives?" O.k., this is where the pedal hits the metal. "Resource", as a term is used by RESTafarians to refer to a conception of data that is richer than we normally think of data. Remember the REST theme: transmission verbs are simple; resources (nouns) are rich. So, it''s not just your models that are resources. Resources are not just simple nouns like products or users or d...