Lots of help from: http://codeintensity.blogspot.com/2008/01/rubycocoa-rocks.html
This is what I learned from attempting to create a RubyCocoa, Core Data, non-document-based application in Xcode that could handle a 'URL scheme' as defined by OS X.
drop schema if exists jaytest cascade; | |
create schema jaytest; | |
set search_path to jaytest; | |
create table questions ( | |
id int not null primary key, | |
user_id int not null | |
); | |
insert into questions |
class Middleware | |
# Processes a request before it reaches the application. | |
# | |
# The middleware can change the flow of the request/response chain by: | |
# - Raising an exception, which will halt the process | |
# - Returning an instance of Response, which will go through the middleware layer | |
# | |
# Returning any other value will not do anything. | |
def process_request(request) | |
# ... |
Lots of help from: http://codeintensity.blogspot.com/2008/01/rubycocoa-rocks.html
This is what I learned from attempting to create a RubyCocoa, Core Data, non-document-based application in Xcode that could handle a 'URL scheme' as defined by OS X.