Skip to content

Commit

Permalink
Added formtastic fork with patch as plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
jeroenvandijk committed Oct 22, 2009
1 parent eb4cce4 commit 6cced42
Show file tree
Hide file tree
Showing 25 changed files with 5,831 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "vendor/plugins/formtastic"]
path = vendor/plugins/formtastic
url = git://github.com/jeroenvandijk/formtastic.git
48 changes: 48 additions & 0 deletions log/cucumber.log
Original file line number Diff line number Diff line change
Expand Up @@ -372,3 +372,51 @@ Processing NormalExamplesController#show (for 127.0.0.1 at 2009-10-22 20:21:48)
Rendering template within layouts/normal_examples
Rendering normal_examples/show
Completed in 4ms (View: 3, DB: 0) | 200 OK [http://www.example.com/normal_examples/1]
REQUESTING PAGE: GET /formtastic_examples/new with {} and HTTP headers {}


Processing FormtasticExamplesController#new (for 127.0.0.1 at 2009-10-22 20:26:50) [GET]
Rendering template within layouts/formtastic_examples
Rendering formtastic_examples/new
Completed in 90ms (View: 86, DB: 0) | 200 OK [http://www.example.com/formtastic_examples/new]
REQUESTING PAGE: POST /formtastic_examples with {"commit"=>"Create", "formtastic_example"=>{"date_of_birth(2i)"=>"11", "date_of_birth(3i)"=>"25", "date_of_birth(1i)"=>"2004"}} and HTTP headers {"HTTP_REFERER"=>"/formtastic_examples/new"}


Processing FormtasticExamplesController#create (for 127.0.0.1 at 2009-10-22 20:26:50) [POST]
Parameters: {"commit"=>"Create", "formtastic_example"=>{"date_of_birth(2i)"=>"11", "date_of_birth(3i)"=>"25", "date_of_birth(1i)"=>"2004"}}
FormtasticExample Create (0.5ms) INSERT INTO "formtastic_examples" ("updated_at", "date_of_birth", "created_at") VALUES('2009-10-22 18:26:50', '2004-11-25', '2009-10-22 18:26:50')
Redirected to http://www.example.com/formtastic_examples/1
Completed in 4ms (DB: 0) | 302 Found [http://www.example.com/formtastic_examples]
REQUESTING PAGE: GET http://www.example.com/formtastic_examples/1 with {} and HTTP headers {"HTTP_REFERER"=>"/formtastic_examples"}


Processing FormtasticExamplesController#show (for 127.0.0.1 at 2009-10-22 20:26:50) [GET]
Parameters: {"id"=>"1"}
FormtasticExample Load (0.3ms) SELECT * FROM "formtastic_examples" WHERE ("formtastic_examples"."id" = 1) 
Rendering template within layouts/formtastic_examples
Rendering formtastic_examples/show
Completed in 5ms (View: 3, DB: 0) | 200 OK [http://www.example.com/formtastic_examples/1]
REQUESTING PAGE: GET /normal_examples/new with {} and HTTP headers {}


Processing NormalExamplesController#new (for 127.0.0.1 at 2009-10-22 20:26:50) [GET]
Rendering template within layouts/normal_examples
Rendering normal_examples/new
Completed in 61ms (View: 57, DB: 0) | 200 OK [http://www.example.com/normal_examples/new]
REQUESTING PAGE: POST /normal_examples with {"normal_example"=>{"date_of_birth(2i)"=>"11", "date_of_birth(3i)"=>"25", "date_of_birth(1i)"=>"2004"}, "commit"=>"Create"} and HTTP headers {"HTTP_REFERER"=>"/normal_examples/new"}


Processing NormalExamplesController#create (for 127.0.0.1 at 2009-10-22 20:26:50) [POST]
Parameters: {"normal_example"=>{"date_of_birth(2i)"=>"11", "date_of_birth(3i)"=>"25", "date_of_birth(1i)"=>"2004"}, "commit"=>"Create"}
NormalExample Create (0.4ms) INSERT INTO "normal_examples" ("updated_at", "date_of_birth", "created_at") VALUES('2009-10-22 18:26:50', '2004-11-25', '2009-10-22 18:26:50')
Redirected to http://www.example.com/normal_examples/1
Completed in 5ms (DB: 0) | 302 Found [http://www.example.com/normal_examples]
REQUESTING PAGE: GET http://www.example.com/normal_examples/1 with {} and HTTP headers {"HTTP_REFERER"=>"/normal_examples"}


Processing NormalExamplesController#show (for 127.0.0.1 at 2009-10-22 20:26:50) [GET]
Parameters: {"id"=>"1"}
NormalExample Load (0.3ms) SELECT * FROM "normal_examples" WHERE ("normal_examples"."id" = 1) 
Rendering template within layouts/normal_examples
Rendering normal_examples/show
Completed in 4ms (View: 3, DB: 0) | 200 OK [http://www.example.com/normal_examples/1]
5 changes: 5 additions & 0 deletions vendor/plugins/formtastic/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
.DS_Store
coverage
pkg
*~
*watchr.rb
20 changes: 20 additions & 0 deletions vendor/plugins/formtastic/MIT-LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
Copyright (c) 2008 Justin French

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Loading

0 comments on commit 6cced42

Please sign in to comment.