RailsConsole ============ This is a web based ruby/rails console plugin, that you can use to get (nearly) same functionality you have on Rails' own ./script/console. NOTE: USE AT YOUR OWN RISK! Don't use this on your production apps unless you've thought of it for about 10 times. No, make it 100. How To Install ======= ./script/plugin install git://github.com/j4s0n/rails_console.git How To Use ======= Add this on your routes.rb map.console '/console', :controller => 'rails_console' map.console_execute '/console/execute', :controller => 'rails_console', :action => 'execute' Then Access your site http://foo.bar/console You need to Patch RailsConsoleController for your own authentication RailsConsoleController.class_eval do ## # Check if we have a valid request here def allowed_request? true end end TODO: ====== - white list the params[:command] - override allow_request? just to make sure only YOU can access that controller Jason Torres, released under the MIT license http://syndeolabs.com http://mashupgarage.com 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.