post :add do
book = Book.create()
Chapter.create(:title => params[:chapter1], :book_id => book.id)
...
Ruby Padrino/Sinatra Multiple Te...
by https://www.google.com/accounts/o8/id?id=AItOawkBdC8bf2M_qsdvPRst2-MfeRNBTfZxvKE,
July 25, 2011 02:17,
2 refactorings, tagged with sinatra, padrino
module Rack
class Request
def subdomains
...
Ruby Personalized URL (Purl) Sub...
by grayfm,
January 11, 2010 22:25,
4 refactorings, tagged with url, rack, domain, sinatra, subdomain
So i need to define @purl_b...
class Message
def initialize
right_now = Time.now
...
Ruby Ruby: Date and Time methods
I have a small Ruby on Rail...
get '/:id' do @vent = Vent.get(params[:id]) erb :show ...
Ruby Trying to condence 2 method...
by Jason Calleiro,
December 10, 2008 21:53,
7 refactorings, tagged with rails, ruby, xml, sinatra, rest
Currently using sinatra fra...
Surely there is a way of lo...