search for: other_app

Displaying 2 results from an estimated 2 matches for "other_app".

2006 Nov 14
11
RESTful mixin, mixin repo?
Hi, I just put together a little mixin to provide pseudo-RESTful services in camping apps. Basically, it looks for a hidden _verb field in form posts, and sets the @method to the supplied value (e.g. put or delete - which browsers don''t support). This lets you define put and delete methods in your controllers. Groovy. Code: http://pastie.caboo.se/22613 Is there any permanent repo of
2006 Jan 16
1
switchtower custom tasks question.
...yment. 1) copy a working dispatch.fcgi from another folder, and 2) copy db/database.example to db/database.yml here is what i''ve tried, inside of deploy.rb: # custom tasks desc "copy another dispatch.fcgi, which gets deleted" task :cp_dispatch_fcgi do File.copy("/path/to/other_app/public_html/dispatch.fcgi", "/path/to/current/public/dispatch.fcgi") end desc "copy database.example to database.yaml" task :cp_database_yaml do put(File.read(''/path/to/current/db/database.example''), "/path/to/current/db/database.yml", :mode =...