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

Surely there is a way of lo...

55502f40dc8b7c769880b10874abc9d0 Talk
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...

41b76a0d9fd81133d545fb2b994013ab Talk
class Message
  def initialize
    right_now = Time.now
...

Ruby Ruby: Date and Time methods

by ravinggenius, June 20, 2009 07:53, 7 refactorings, tagged with ruby, sinatra, non-rails

I have a small Ruby on Rail...

6c13f781b81579be36f2ec1193224db4 Talk
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...

A4e2fea57f511d697f1de55198996f23 Talk