Permalink
Commits on Dec 9, 2009
  1. added some content to REDME

    committed Dec 9, 2009
Commits on Dec 2, 2009
  1. need to get named tokens from routes into params so we can get show-t…

    …ype actions working
    committed Dec 2, 2009
Commits on Dec 1, 2009
  1. playing with DSL for controllers using global functions ... everythin…

    …g loses 'this' though ... wonder if, instead of being global, we should pass some functions into where we eval the controller code or ... hmm ...?
    committed Dec 1, 2009
Commits on Nov 30, 2009
Commits on Nov 26, 2009
  1. encapsulated Sinatra applications ... should be able to extract the r…

    …outer more easily now so I can use it from Rails
    committed Nov 26, 2009
Commits on Nov 25, 2009
  1. starting playing with a Rails implementation ... would be really fun!…

    … but i think i may be done for now with just the sinatra implementation with a few database helpers
    committed Nov 25, 2009
  2. this.redirectTo('/foo');

    committed Nov 25, 2009
  3. you don't *have* to use params for parts of your route that match any…

    …more. your function can accept arguments, eg. get('/dogs/:name', function(name){ return 'Dog with name ' + name; })
    committed Nov 25, 2009
  4. got UPDATE working (*very* simple ... based on model.attributes ... i…

    …t will update if the id has been set [else it will create])
    committed Nov 25, 2009
  5. can instantiate a model with attributes then save() it ... only *very…

    …* basic support for this, so far
    committed Nov 25, 2009
  6. interacting with the database via DM and the classic ASP app isn't wo…

    …rking properly ... changed the way we're doing a DB testing to account for this
    committed Nov 25, 2009
Commits on Nov 24, 2009
  1. INSERTs are working ... but i seem to have to create a new process to…

    … see the updates. still trying to figure it out. NOTE: you need to have write permissions on the whole directory a sqlite database is in if you want to be able to write to it.
    committed Nov 24, 2009
  2. you can get() by id

    committed Nov 24, 2009
  3. working on specs for the database layer ... tested simple all(), firs…

    …t(), and count() functions
    committed Nov 24, 2009
  4. hmm ... playing with trying to override eval (again) ... it isn't goi…

    …ng to work :/ well, i can call this.foo() but can't simply call functions like foo() [methods in the global scope]
    committed Nov 24, 2009
Commits on Nov 23, 2009
Commits on Nov 22, 2009
Commits on Nov 21, 2009
  1. we're now testing the get/post/put/delete sinatra functions. there's …

    …a little bit of weirdness you need to know when you want to manually POST/PUT/DELETE to the app because IIS doesn't allow those verbs to arbitrary paths ... they need to actually go to .asp paths. So when you want to POST to /foo you need to *actually* post to /foo.asp ... see the specs!
    committed Nov 21, 2009
  2. got a few additional rack specs added ... and made it easy to pass an…

    … IP or HOST to your spec runner so you don't have to edit the code to run the tests!
    committed Nov 21, 2009
  3. got first spec passing

    committed Nov 21, 2009
  4. *VERY* basic querying is working ... should start to build a Query ob…

    …ject to handle things a bit better ... then I wanna start doing updates/inserts :)
    committed Nov 21, 2009
  5. model.all() working

    committed Nov 21, 2009
Commits on Nov 19, 2009