search for: restolog

Displaying 2 results from an estimated 2 matches for "restolog".

Did you mean: restblog
2006 Aug 11
0
Resotolog-1.2 - RESTful blog example (was Community request - can someone show me REST? )
On 8/2/06, Alisdair McDiarmid <alisdair@...> wrote: > Here you go: > http://randomoracle.com/stuff/RestBlog.tar.gz Hi guys, i modified a little the original Alisdair McDiarmid''s sources and created very simple blog system. So the announce follows: Restolog - RESTful blog example ========================= Very simple blog system based on REST/CRUD ideas. Sources (all credits going to the autors, i just combined their work): - RestBlog by Alisdair McDiarmid - [ http://randomoracle.com/stuff/RestBlog.tar.gz ] - restful_authentication plugin by techno-w...
2006 Sep 10
11
Using partials with Markaby
...gure out how to access a parameter passed into the partial. Here''s the code I''m using: h1 "Create a new note" if @note render :partial => ''form/errors'', :record => @note end ... (that snippet, as well as the partial is stolen shamelessly from Restolog (thought converted to Markaby), which is a nice example of a REST-ful rails app) here''s the partial, in form/_errors.mab: unless record.nil? or record.errors.empty? div :class => "message-error" do p "The #{record.class.to_s.downcase} could not be saved:" ul do...