Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

sorry for such wild unwiedlyness on master I promise to keep things s…

…table again after today. its for the good of the project. promise
  • Loading branch information...
commit e38c726df3b7294b6242f4e22f0110b48de28e72 1 parent cda2de2
@Sophrinix Sophrinix authored
Showing with 902 additions and 330 deletions.
  1. 0  {tryruby → }/Gemfile
  2. +229 −70 README
  3. 0  {tryruby → }/Rakefile
  4. 0  {tryruby → }/app/controllers/application_controller.rb
  5. 0  {tryruby → }/app/controllers/index_controller.rb
  6. 0  {tryruby → }/app/controllers/tutorials_controller.rb
  7. 0  {tryruby → }/app/helpers/application_helper.rb
  8. 0  {tryruby → }/app/helpers/index_helper.rb
  9. 0  {tryruby → }/app/helpers/tutorials_helper.rb
  10. 0  {tryruby → }/app/views/index/index.html.erb
  11. 0  {tryruby → }/app/views/index/terminal.html.erb
  12. 0  {tryruby → }/app/views/layouts/application.html.erb
  13. 0  {tryruby → }/app/views/layouts/blank.html.erb
  14. 0  {tryruby → }/app/views/tutorials/intro.html.erb
  15. 0  {tryruby → }/config.ru
  16. 0  {tryruby → }/config/application.rb
  17. 0  {tryruby → }/config/boot.rb
  18. 0  {tryruby → }/config/database.yml
  19. 0  {tryruby → }/config/environment.rb
  20. 0  {tryruby → }/config/environments/development.rb
  21. 0  {tryruby → }/config/environments/production.rb
  22. 0  {tryruby → }/config/environments/test.rb
  23. 0  {tryruby → }/config/initializers/backtrace_silencers.rb
  24. 0  {tryruby → }/config/initializers/inflections.rb
  25. 0  {tryruby → }/config/initializers/mime_types.rb
  26. 0  {tryruby → }/config/initializers/secret_token.rb
  27. 0  {tryruby → }/config/initializers/session_store.rb
  28. 0  {tryruby → }/config/locales/en.yml
  29. 0  {tryruby → }/config/routes.rb
  30. 0  {tryruby → }/db/seeds.rb
  31. 0  {tryruby → }/doc/README_FOR_APP
  32. 0  {tryruby/vendor/plugins → lib/tasks}/.gitkeep
  33. +673 −0 log/development.log
  34. 0  tryruby/public/stylesheets/.gitkeep → log/production.log
  35. 0  tryruby/public/favicon.ico → log/server.log
  36. 0  tryruby/lib/tasks/.gitkeep → log/test.log
  37. 0  {tryruby → }/public/404.html
  38. 0  {tryruby → }/public/422.html
  39. 0  {tryruby → }/public/500.html
  40. 0  public/favicon.ico
  41. 0  {tryruby → }/public/images/background.png
  42. 0  {tryruby → }/public/images/footer.png
  43. 0  {tryruby → }/public/images/header.png
  44. 0  {tryruby/public/javascripts → public/images}/index.html
  45. 0  {tryruby → }/public/images/rails.png
  46. 0  {tryruby → }/public/images/tile.png
  47. 0  {tryruby → }/public/javascripts/application.js
  48. 0  {tryruby → }/public/javascripts/console.js
  49. 0  {tryruby → }/public/javascripts/controls.js
  50. 0  {tryruby → }/public/javascripts/dragdrop.js
  51. 0  {tryruby → }/public/javascripts/effects.js
  52. 0  {tryruby → }/public/javascripts/facebox.js
  53. 0  {tryruby/public/images → public/javascripts}/index.html
  54. 0  {tryruby → }/public/javascripts/irb.js
  55. 0  {tryruby → }/public/javascripts/jQuery.irb.js
  56. 0  {tryruby → }/public/javascripts/jquery-1.3.2.min.js
  57. 0  {tryruby → }/public/javascripts/jquery-1.4.2.min.js
  58. 0  {tryruby → }/public/javascripts/jquery.console.js
  59. 0  {tryruby → }/public/javascripts/jquery.console.min.js
  60. 0  {tryruby → }/public/javascripts/jquery.js
  61. 0  {tryruby → }/public/javascripts/json2.js
  62. 0  {tryruby → }/public/javascripts/lib.min.js
  63. 0  {tryruby → }/public/javascripts/mouseapp_2.js
  64. 0  {tryruby → }/public/javascripts/mouseirb_2.js
  65. 0  {tryruby → }/public/javascripts/prototype.js
  66. 0  {tryruby → }/public/javascripts/rails.js
  67. 0  {tryruby → }/public/javascripts/raphael-min.js
  68. 0  {tryruby → }/public/robots.txt
  69. 0  public/stylesheets/.gitkeep
  70. 0  {tryruby → }/public/stylesheets/facebox.css
  71. 0  {tryruby → }/public/stylesheets/reset.css
  72. 0  {tryruby → }/public/stylesheets/scaffold.css
  73. 0  {tryruby → }/public/stylesheets/site.css
  74. 0  {tryruby → }/script/rails
  75. 0  {tryruby → }/test/functional/index_controller_test.rb
  76. 0  {tryruby → }/test/functional/tutorials_controller_test.rb
  77. 0  {tryruby → }/test/performance/browsing_test.rb
  78. 0  {tryruby → }/test/test_helper.rb
  79. 0  {tryruby → }/test/unit/helpers/index_helper_test.rb
  80. 0  {tryruby → }/test/unit/helpers/tutorials_helper_test.rb
  81. +0 −4 tryruby/.gitignore
  82. +0 −256 tryruby/README
  83. 0  vendor/plugins/.gitkeep
View
0  tryruby/Gemfile → Gemfile
File renamed without changes
View
299 README
@@ -1,97 +1,256 @@
-TRYRUBY! is now 1.9 ready and hosted using 1.9. Please note this is beta software.
+== Welcome to Rails
-Copyright (c) 2009 Andrew McElroy
+Rails is a web-application framework that includes everything needed to create
+database-backed web applications according to the Model-View-Control pattern.
-index.html is Copyright (c) 2009 _why
-test.rb, tryruby_runner.rb Copyright (c) 2009 David Miani
+This pattern splits the view (also called the presentation) into "dumb"
+templates that are primarily responsible for inserting pre-built data in between
+HTML tags. The model contains the "smart" domain objects (such as Account,
+Product, Person, Post) that holds all the business logic and knows how to
+persist themselves to a database. The controller handles the incoming requests
+(such as Save New Account, Update Product, Show Post) by manipulating the model
+and directing data to the view.
+In Rails, the model is handled by what's called an object-relational mapping
+layer entitled Active Record. This layer allows you to present the data from
+database rows as objects and embellish these data objects with business logic
+methods. You can read more about Active Record in
+link:files/vendor/rails/activerecord/README.html.
-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 controller and view are handled by the Action Pack, which handles both
+layers by its two parts: Action View and Action Controller. These two layers
+are bundled in a single package due to their heavy interdependence. This is
+unlike the relationship between the Active Record and Action Pack that is much
+more separate. Each of these packages can be used independently outside of
+Rails. You can read more about Action Pack in
+link:files/vendor/rails/actionpack/README.html.
-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.
+== Getting Started
-What is TryRuby?
---------------------------------------------------------------------------------------
-Try Ruby is a interactive shell that quickly and whimsically teaches the Ruby programming language. Originally _why's idea, it has been recreated from the ground up by Rubists who have a passion for Ruby and for teaching their fellow (wo)man how to program.
+1. At the command prompt, create a new Rails application:
+ <tt>rails new myapp</tt> (where <tt>myapp</tt> is the application name)
-Please note that If you feel like you are stuck in the middle of a lesson try typing:
+2. Change directory to <tt>myapp</tt> and start the web server:
+ <tt>cd myapp; rails server</tt> (run with --help for options)
-next
+3. Go to http://localhost:3000/ and you'll see:
+ "Welcome aboard: You're riding Ruby on Rails!"
-Doing so will skip to to the next part of the less/next lesson
+4. Follow the guidelines to start developing your application. You can find
+the following resources handy:
-UPDATE:
-EXPECT TO SEE THIS CHANGE IN THE NEXT FEW DAYS. I AM LOOKING INTO A SQLITE STORE OPTION.
-The sessions are now stored in a tmp folder.
-For the time being it is within the htdoc path. I know this is bad.
-I have included an index.html that redirects you back to the home page in the mean time.
-Ideally, I need to put this some place like /var/logs/tryruby.
+* The Getting Started Guide: http://guides.rubyonrails.org/getting_started.html
+* Ruby on Rails Tutorial Book: http://www.railstutorial.org/
+== Debugging Rails
-from there I will see about the viability of making this use the r bridge so you
-can have ruby to R lessons. :-)
+Sometimes your application goes wrong. Fortunately there are a lot of tools that
+will help you debug it and get it back on the rails.
-Explaination of /irb.cgi
-========================
-The only part of the TryRuby implementation that wasn't able to be recovered from archive.org is the /irb file (or /irb.cgi currently, you can change the name of the file used in js/irb.js). This script should:
- - Take one GET param "cmd", which will contain a single line of ruby to run. It can also be "!INIT!IRB", which is called at the start of the session. The current implementation of irb.cgi ignores this. "reset" should also do something special (but doesn't atm).
- - Return the output, optionally formatted using normal shell escapes (eg "\033[1;33mThis appears orange")
+First area to check is the application log files. Have "tail -f" commands
+running on the server.log and development.log. Rails will automatically display
+debugging and runtime information to these files. Debugging info will also be
+shown in the browser on requests from 127.0.0.1.
-The output has four main formats for returning a result, error output, javascript function and line continuation. This is used by the help system so that it can detect when a user has entered the next step for the tutorial.
+You can also log your own messages directly into the log file from your code
+using the Ruby logger class from inside your controllers. Example:
-Output results should be formatted with a "=> " at the front of the output. For example: /irb.cgi?cmd=3*4 should output "=> 12". Shell escape codes can be used to give the output different colors, for example "=> \033[1;20m12". This will automatically be removed when used with the help system. Note that you don't and shouldn't terminate these shell escapes with \033[m (like with a normal shell).
+ class WeblogController < ActionController::Base
+ def destroy
+ @weblog = Weblog.find(params[:id])
+ @weblog.destroy
+ logger.info("#{Time.now} Destroyed Weblog ID ##{@weblog.id}!")
+ end
+ end
-Standard output should not be prefixed by =>, so /irb.cgi?cmd=puts(44) should output "44\n=> nil". Here 44 is output, and nil is returned. Again shell escapes can be used.
+The result will be a message in your log file along the lines of:
-Errors should be formated just like standard output, however it should have no return. For example, /irb.cgi?cmd=non_existant_function should output something like "\033[1;33mNameError: undefined local variable or method `non_existant_function' for main:Object".
-
-Javascript functions (such as Popup.goto) should use the format "\033[1;JsmJAVASCRIPT CODE\033[m". The javascript cod will then be run. For example, /irb.cgi?cmd=Popup.goto("http://www.google.com") should output \033[1;JSmwindow.irb.options.popup_goto("http://www.google.com")\033[m.
-
-Finally, if the command isn't finished (eg "def myfunc"), then ".." should be returned. Eg /irb.cgi?cmd=def%20myfunc should return "..".
-
-
-How this works with the help system:
-====================================
-The help system works with the file /tutorials/intro.html . There is a <div class="stretcher"> section for each part of the tutorial. Most of it is just the text for that part of the tutorial. However, there is also a <div class="answer|stdout">regex</div> section. If this matches against the output for a command, then the tutorial will go to the next step.
-
-When the class is "answer", then it will match against lines beginning with "=>". So <div class="answer">\d+</div> will match any code that returns a number. Other output can be shown as well, eg "someoutput\n=> 42" will match this. The exact regexp is '^\s*=> match_regex_from_help\s*$'. So the line must be an exact match, other than spaces and the initial =>
-
-When the class is "stdout", the match must work on a complete line. Eg <div class="stdout">hello</div> will match "hello", or "start\n hello\ngoodbye" (leading spaces are ignored, and multiple lines are searched. The exact regex is '^\s*match_regex_from_help$'
-
-As a special case, if the tutorial expects that a command isn't finished (such as with def myfunc), then it <div class="stdout">..</div> will be used. This is changed from the original implementation _why used, which was <div class="stdout"></div> as I couldn't get it to work like that.
-
-Another special case, if the return should some javascript code, then something like '<div class="stdout">\033\[1;JSm.*popup_goto\(.*\)\033\[m.*</div>' will be used
-
-
-
-Current Implementation
-======================
-The current implementation doesn't use persistent processes like irb. What it does is it stores all previous successfully run commands in session['previous_commands'], and runs them all first (disabling stdout). Then it will finally run the command. It uses a primitive method of detecting incomplete statements (with the function unfinished_statement?) and when a incomplete statement is finished (finished_statement?). The current nesting level (eg "class X" then "def myfunc" will having a nesting level of 2) is stored in $session['nesting_level']. All the lines of the current incomplete statement are stored in $session['current_statement'].
-
-To work with javascript functions, a special class JavascriptResult was written, with one accessor :js. If the result of an eval returns this object, then the output will be formatted in the javascript method.
+ Mon Oct 08 14:22:29 +1000 2007 Destroyed Weblog ID #1!
+More information on how to use the logger is at http://www.ruby-doc.org/core/
+Also, Ruby documentation can be found at http://www.ruby-lang.org/. There are
+several books available online as well:
+* Programming Ruby: http://www.ruby-doc.org/docs/ProgrammingRuby/ (Pickaxe)
+* Learn to Program: http://pine.fm/LearnToProgram/ (a beginners guide)
+These two books will bring you up to speed on the Ruby language and also on
+programming in general.
+== Debugger
+Debugger support is available through the debugger command when you start your
+Mongrel or WEBrick server with --debugger. This means that you can break out of
+execution at any point in the code, investigate and change the model, and then,
+resume execution! You need to install ruby-debug to run the server in debugging
+mode. With gems, use <tt>sudo gem install ruby-debug</tt>. Example:
+
+ class WeblogController < ActionController::Base
+ def index
+ @posts = Post.find(:all)
+ debugger
+ end
+ end
+
+So the controller will accept the action, run the first line, then present you
+with a IRB prompt in the server window. Here you can do things like:
+
+ >> @posts.inspect
+ => "[#<Post:0x14a6be8
+ @attributes={"title"=>nil, "body"=>nil, "id"=>"1"}>,
+ #<Post:0x14a6620
+ @attributes={"title"=>"Rails", "body"=>"Only ten..", "id"=>"2"}>]"
+ >> @posts.first.title = "hello from a debugger"
+ => "hello from a debugger"
+
+...and even better, you can examine how your runtime objects actually work:
+
+ >> f = @posts.first
+ => #<Post:0x13630c4 @attributes={"title"=>nil, "body"=>nil, "id"=>"1"}>
+ >> f.
+ Display all 152 possibilities? (y or n)
+
+Finally, when you're ready to resume execution, you can enter "cont".
+
+
+== Console
+
+The console is a Ruby shell, which allows you to interact with your
+application's domain model. Here you'll have all parts of the application
+configured, just like it is when the application is running. You can inspect
+domain models, change values, and save to the database. Starting the script
+without arguments will launch it in the development environment.
+To start the console, run <tt>rails console</tt> from the application
+directory.
+
+Options:
+
+* Passing the <tt>-s, --sandbox</tt> argument will rollback any modifications
+ made to the database.
+* Passing an environment name as an argument will load the corresponding
+ environment. Example: <tt>rails console production</tt>.
+
+To reload your controllers and models after launching the console run
+<tt>reload!</tt>
+
+More information about irb can be found at:
+link:http://www.rubycentral.com/pickaxe/irb.html
+
+
+== dbconsole
+
+You can go to the command line of your database directly through <tt>rails
+dbconsole</tt>. You would be connected to the database with the credentials
+defined in database.yml. Starting the script without arguments will connect you
+to the development database. Passing an argument will connect you to a different
+database, like <tt>rails dbconsole production</tt>. Currently works for MySQL,
+PostgreSQL and SQLite 3.
+
+== Description of Contents
+
+The default directory structure of a generated Ruby on Rails application:
+
+ |-- app
+ | |-- controllers
+ | |-- helpers
+ | |-- mailers
+ | |-- models
+ | `-- views
+ | `-- layouts
+ |-- config
+ | |-- environments
+ | |-- initializers
+ | `-- locales
+ |-- db
+ |-- doc
+ |-- lib
+ | `-- tasks
+ |-- log
+ |-- public
+ | |-- images
+ | |-- javascripts
+ | `-- stylesheets
+ |-- script
+ |-- test
+ | |-- fixtures
+ | |-- functional
+ | |-- integration
+ | |-- performance
+ | `-- unit
+ |-- tmp
+ | |-- cache
+ | |-- pids
+ | |-- sessions
+ | `-- sockets
+ `-- vendor
+ `-- plugins
+
+app
+ Holds all the code that's specific to this particular application.
+
+app/controllers
+ Holds controllers that should be named like weblogs_controller.rb for
+ automated URL mapping. All controllers should descend from
+ ApplicationController which itself descends from ActionController::Base.
+
+app/models
+ Holds models that should be named like post.rb. Models descend from
+ ActiveRecord::Base by default.
+
+app/views
+ Holds the template files for the view that should be named like
+ weblogs/index.html.erb for the WeblogsController#index action. All views use
+ eRuby syntax by default.
+
+app/views/layouts
+ Holds the template files for layouts to be used with views. This models the
+ common header/footer method of wrapping views. In your views, define a layout
+ using the <tt>layout :default</tt> and create a file named default.html.erb.
+ Inside default.html.erb, call <% yield %> to render the view using this
+ layout.
+
+app/helpers
+ Holds view helpers that should be named like weblogs_helper.rb. These are
+ generated for you automatically when using generators for controllers.
+ Helpers can be used to wrap functionality for your views into methods.
+
+config
+ Configuration files for the Rails environment, the routing map, the database,
+ and other dependencies.
+
+db
+ Contains the database schema in schema.rb. db/migrate contains all the
+ sequence of Migrations for your schema.
+
+doc
+ This directory is where your application documentation will be stored when
+ generated using <tt>rake doc:app</tt>
+
+lib
+ Application specific libraries. Basically, any kind of custom code that
+ doesn't belong under controllers, models, or helpers. This directory is in
+ the load path.
+
+public
+ The directory available for the web server. Contains subdirectories for
+ images, stylesheets, and javascripts. Also contains the dispatchers and the
+ default HTML files. This should be set as the DOCUMENT_ROOT of your web
+ server.
+
+script
+ Helper scripts for automation and generation.
+
+test
+ Unit and functional tests along with fixtures. When using the rails generate
+ command, template test files will be generated for you and placed in this
+ directory.
+
+vendor
+ External libraries that the application depends on. Also includes the plugins
+ subdirectory. If the app has frozen rails, those gems also go here, under
+ vendor/rails/. This directory is in the load path.
View
0  tryruby/Rakefile → Rakefile
File renamed without changes
View
0  ...app/controllers/application_controller.rb → app/controllers/application_controller.rb
File renamed without changes
View
0  tryruby/app/controllers/index_controller.rb → app/controllers/index_controller.rb
File renamed without changes
View
0  ...y/app/controllers/tutorials_controller.rb → app/controllers/tutorials_controller.rb
File renamed without changes
View
0  tryruby/app/helpers/application_helper.rb → app/helpers/application_helper.rb
File renamed without changes
View
0  tryruby/app/helpers/index_helper.rb → app/helpers/index_helper.rb
File renamed without changes
View
0  tryruby/app/helpers/tutorials_helper.rb → app/helpers/tutorials_helper.rb
File renamed without changes
View
0  tryruby/app/views/index/index.html.erb → app/views/index/index.html.erb
File renamed without changes
View
0  tryruby/app/views/index/terminal.html.erb → app/views/index/terminal.html.erb
File renamed without changes
View
0  ...by/app/views/layouts/application.html.erb → app/views/layouts/application.html.erb
File renamed without changes
View
0  tryruby/app/views/layouts/blank.html.erb → app/views/layouts/blank.html.erb
File renamed without changes
View
0  tryruby/app/views/tutorials/intro.html.erb → app/views/tutorials/intro.html.erb
File renamed without changes
View
0  tryruby/config.ru → config.ru
File renamed without changes
View
0  tryruby/config/application.rb → config/application.rb
File renamed without changes
View
0  tryruby/config/boot.rb → config/boot.rb
File renamed without changes
View
0  tryruby/config/database.yml → config/database.yml
File renamed without changes
View
0  tryruby/config/environment.rb → config/environment.rb
File renamed without changes
View
0  tryruby/config/environments/development.rb → config/environments/development.rb
File renamed without changes
View
0  tryruby/config/environments/production.rb → config/environments/production.rb
File renamed without changes
View
0  tryruby/config/environments/test.rb → config/environments/test.rb
File renamed without changes
View
0  ...onfig/initializers/backtrace_silencers.rb → config/initializers/backtrace_silencers.rb
File renamed without changes
View
0  tryruby/config/initializers/inflections.rb → config/initializers/inflections.rb
File renamed without changes
View
0  tryruby/config/initializers/mime_types.rb → config/initializers/mime_types.rb
File renamed without changes
View
0  tryruby/config/initializers/secret_token.rb → config/initializers/secret_token.rb
File renamed without changes
View
0  tryruby/config/initializers/session_store.rb → config/initializers/session_store.rb
File renamed without changes
View
0  tryruby/config/locales/en.yml → config/locales/en.yml
File renamed without changes
View
0  tryruby/config/routes.rb → config/routes.rb
File renamed without changes
View
0  tryruby/db/seeds.rb → db/seeds.rb
File renamed without changes
View
0  tryruby/doc/README_FOR_APP → doc/README_FOR_APP
File renamed without changes
View
0  tryruby/vendor/plugins/.gitkeep → lib/tasks/.gitkeep
File renamed without changes
View
673 log/development.log
@@ -0,0 +1,673 @@
+DEPRECATION WARNING: config.action_view.debug_rjs will be removed in 3.1, from 3.1 onwards you will need to install prototype-rails to continue to use RJS templates . (called from service at /Users/sophrinix/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/webrick/httpserver.rb:111)
+
+
+Started GET "/" for 127.0.0.1 at 2011-07-08 17:52:45 -0500
+
+ActionController::RoutingError (No route matches "/"):
+
+
+Rendered /Users/sophrinix/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.9/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (1.5ms)
+
+
+Started GET "/" for 127.0.0.1 at 2011-07-08 17:54:39 -0500
+
+ActionController::RoutingError (No route matches "/"):
+
+
+Rendered /Users/sophrinix/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.9/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (2.4ms)
+
+
+Started GET "/" for 127.0.0.1 at 2011-07-08 17:54:44 -0500
+
+ActionController::RoutingError (No route matches "/"):
+
+
+Rendered /Users/sophrinix/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.9/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (100.8ms)
+
+
+Started GET "/" for 127.0.0.1 at 2011-07-08 17:54:57 -0500
+
+NoMethodError (undefined method `reverse_merge' for #<ActionDispatch::Routing::Mapper:0x000001036a9a60>):
+ config/routes.rb:2:in `block in <top (required)>'
+ config/routes.rb:1:in `<top (required)>'
+
+Rendered /Users/sophrinix/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.9/lib/action_dispatch/middleware/templates/rescues/_trace.erb (3.0ms)
+Rendered /Users/sophrinix/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.9/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (19.8ms)
+Rendered /Users/sophrinix/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.9/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (46.8ms)
+
+
+Started GET "/" for 127.0.0.1 at 2011-07-08 17:55:29 -0500
+
+ArgumentError (missing :action):
+ config/routes.rb:2:in `block in <top (required)>'
+ config/routes.rb:1:in `<top (required)>'
+
+Rendered /Users/sophrinix/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.9/lib/action_dispatch/middleware/templates/rescues/_trace.erb (4.2ms)
+Rendered /Users/sophrinix/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.9/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (2.8ms)
+Rendered /Users/sophrinix/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.9/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (26.6ms)
+
+
+Started GET "/" for 127.0.0.1 at 2011-07-08 17:55:42 -0500
+ Processing by IndexController#index as HTML
+Completed 500 Internal Server Error in 73ms
+
+ActionView::MissingTemplate (Missing template index/index with {:handlers=>[:erb, :rjs, :builder, :rhtml, :rxml], :formats=>[:html], :locale=>[:en, :en]} in view paths "/Users/sophrinix/Desktop/herokutr/TryRuby/tryruby/app/views"):
+
+
+Rendered /Users/sophrinix/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.9/lib/action_dispatch/middleware/templates/rescues/missing_template.erb within rescues/layout (2.7ms)
+
+
+Started GET "/" for 127.0.0.1 at 2011-07-08 17:55:56 -0500
+ Processing by IndexController#index as HTML
+Rendered index/index.html.erb within layouts/application (2.0ms)
+Completed 200 OK in 13ms (Views: 12.0ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/images/footer.png" for 127.0.0.1 at 2011-07-08 17:55:57 -0500
+
+ActionController::RoutingError (No route matches "/images/footer.png"):
+
+
+Rendered /Users/sophrinix/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.9/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (2.1ms)
+
+
+Started GET "/images/header.png" for 127.0.0.1 at 2011-07-08 17:55:57 -0500
+
+ActionController::RoutingError (No route matches "/images/header.png"):
+
+
+Rendered /Users/sophrinix/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.9/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (2.2ms)
+
+
+Started GET "/images/header.png" for 127.0.0.1 at 2011-07-08 17:55:57 -0500
+
+ActionController::RoutingError (No route matches "/images/header.png"):
+
+
+Rendered /Users/sophrinix/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.9/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (2.3ms)
+
+
+Started GET "/images/footer.png" for 127.0.0.1 at 2011-07-08 17:55:57 -0500
+
+ActionController::RoutingError (No route matches "/images/footer.png"):
+
+
+Rendered /Users/sophrinix/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.9/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (2.1ms)
+
+
+Started GET "/stylesheets/images/plus.png" for 127.0.0.1 at 2011-07-08 17:55:57 -0500
+
+ActionController::RoutingError (No route matches "/stylesheets/images/plus.png"):
+
+
+Rendered /Users/sophrinix/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.9/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (2.3ms)
+
+
+Started GET "/images/closelabel.png" for 127.0.0.1 at 2011-07-08 17:55:57 -0500
+
+ActionController::RoutingError (No route matches "/images/closelabel.png"):
+
+
+Rendered /Users/sophrinix/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.9/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (2.1ms)
+
+
+Started GET "/images/loading.gif" for 127.0.0.1 at 2011-07-08 17:55:58 -0500
+
+ActionController::RoutingError (No route matches "/images/loading.gif"):
+
+
+Rendered /Users/sophrinix/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.9/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (2.2ms)
+
+
+Started GET "/facebox/closelabel.png" for 127.0.0.1 at 2011-07-08 17:55:58 -0500
+
+ActionController::RoutingError (No route matches "/facebox/closelabel.png"):
+
+
+Rendered /Users/sophrinix/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.9/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (2.1ms)
+
+
+Started GET "/" for 127.0.0.1 at 2011-07-08 17:57:25 -0500
+ Processing by IndexController#index as HTML
+Rendered index/index.html.erb within layouts/application (2.3ms)
+Completed 200 OK in 14ms (Views: 13.3ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/images/footer.png" for 127.0.0.1 at 2011-07-08 17:57:25 -0500
+
+ActionController::RoutingError (No route matches "/images/footer.png"):
+
+
+Rendered /Users/sophrinix/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.9/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (3.7ms)
+
+
+Started GET "/images/header.png" for 127.0.0.1 at 2011-07-08 17:57:25 -0500
+
+ActionController::RoutingError (No route matches "/images/header.png"):
+
+
+Rendered /Users/sophrinix/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.9/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (3.0ms)
+
+
+Started GET "/images/footer.png" for 127.0.0.1 at 2011-07-08 17:57:25 -0500
+
+ActionController::RoutingError (No route matches "/images/footer.png"):
+
+
+Rendered /Users/sophrinix/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.9/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (3.6ms)
+
+
+Started GET "/images/header.png" for 127.0.0.1 at 2011-07-08 17:57:25 -0500
+
+ActionController::RoutingError (No route matches "/images/header.png"):
+
+
+Rendered /Users/sophrinix/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.9/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (2.2ms)
+
+
+Started GET "/facebox/closelabel.png" for 127.0.0.1 at 2011-07-08 17:57:26 -0500
+
+ActionController::RoutingError (No route matches "/facebox/closelabel.png"):
+
+
+Rendered /Users/sophrinix/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.9/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (2.1ms)
+
+
+Started GET "/stylesheets/images/plus.png" for 127.0.0.1 at 2011-07-08 17:57:26 -0500
+
+ActionController::RoutingError (No route matches "/stylesheets/images/plus.png"):
+
+
+Rendered /Users/sophrinix/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.9/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (2.2ms)
+
+
+Started GET "/images/loading.gif" for 127.0.0.1 at 2011-07-08 17:57:26 -0500
+
+ActionController::RoutingError (No route matches "/images/loading.gif"):
+
+
+Rendered /Users/sophrinix/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.9/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (9.0ms)
+
+
+Started GET "/images/closelabel.png" for 127.0.0.1 at 2011-07-08 17:57:26 -0500
+
+ActionController::RoutingError (No route matches "/images/closelabel.png"):
+
+
+Rendered /Users/sophrinix/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.9/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (2.2ms)
+
+
+Started GET "/" for 127.0.0.1 at 2011-07-08 17:57:31 -0500
+ Processing by IndexController#index as HTML
+Rendered index/index.html.erb within layouts/application (2.1ms)
+Completed 200 OK in 17ms (Views: 16.6ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/" for 127.0.0.1 at 2011-07-08 17:58:24 -0500
+ Processing by IndexController#index as HTML
+Rendered index/index.html.erb within layouts/application (4.8ms)
+Completed 200 OK in 30ms (Views: 29.1ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/stylesheets/images/plus.png" for 127.0.0.1 at 2011-07-08 17:58:24 -0500
+
+ActionController::RoutingError (No route matches "/stylesheets/images/plus.png"):
+
+
+Rendered /Users/sophrinix/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.9/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (2.3ms)
+
+
+Started GET "/facebox/closelabel.png" for 127.0.0.1 at 2011-07-08 17:58:24 -0500
+
+ActionController::RoutingError (No route matches "/facebox/closelabel.png"):
+
+
+Rendered /Users/sophrinix/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.9/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (2.2ms)
+
+
+Started GET "/images/loading.gif" for 127.0.0.1 at 2011-07-08 17:58:24 -0500
+
+ActionController::RoutingError (No route matches "/images/loading.gif"):
+
+
+Rendered /Users/sophrinix/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.9/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (2.8ms)
+
+
+Started GET "/images/closelabel.png" for 127.0.0.1 at 2011-07-08 17:58:25 -0500
+
+ActionController::RoutingError (No route matches "/images/closelabel.png"):
+
+
+Rendered /Users/sophrinix/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.9/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (2.4ms)
+
+
+Started GET "/" for 127.0.0.1 at 2011-07-08 17:59:08 -0500
+ Processing by IndexController#index as HTML
+Rendered index/index.html.erb within layouts/application (2.4ms)
+Completed 200 OK in 22ms (Views: 21.5ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/stylesheets/images/plus.png" for 127.0.0.1 at 2011-07-08 17:59:09 -0500
+
+ActionController::RoutingError (No route matches "/stylesheets/images/plus.png"):
+
+
+Rendered /Users/sophrinix/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.9/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (2.2ms)
+
+
+Started GET "/facebox/closelabel.png" for 127.0.0.1 at 2011-07-08 17:59:09 -0500
+
+ActionController::RoutingError (No route matches "/facebox/closelabel.png"):
+
+
+Rendered /Users/sophrinix/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.9/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (2.1ms)
+
+
+Started GET "/images/closelabel.png" for 127.0.0.1 at 2011-07-08 17:59:09 -0500
+
+ActionController::RoutingError (No route matches "/images/closelabel.png"):
+
+
+Rendered /Users/sophrinix/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.9/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (2.1ms)
+
+
+Started GET "/images/loading.gif" for 127.0.0.1 at 2011-07-08 17:59:09 -0500
+
+ActionController::RoutingError (No route matches "/images/loading.gif"):
+
+
+Rendered /Users/sophrinix/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.9/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (2.5ms)
+
+
+Started GET "/" for 127.0.0.1 at 2011-07-08 18:07:42 -0500
+ Processing by IndexController#index as HTML
+Rendered index/index.html.erb within layouts/application (2.2ms)
+Completed 200 OK in 19ms (Views: 17.9ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/stylesheets/images/plus.png" for 127.0.0.1 at 2011-07-08 18:07:43 -0500
+
+ActionController::RoutingError (No route matches "/stylesheets/images/plus.png"):
+
+
+Rendered /Users/sophrinix/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.9/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (2.8ms)
+
+
+Started GET "/facebox/closelabel.png" for 127.0.0.1 at 2011-07-08 18:07:43 -0500
+
+ActionController::RoutingError (No route matches "/facebox/closelabel.png"):
+
+
+Rendered /Users/sophrinix/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.9/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (2.3ms)
+
+
+Started GET "/images/loading.gif" for 127.0.0.1 at 2011-07-08 18:07:43 -0500
+
+ActionController::RoutingError (No route matches "/images/loading.gif"):
+
+
+Rendered /Users/sophrinix/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.9/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (2.0ms)
+
+
+Started GET "/images/closelabel.png" for 127.0.0.1 at 2011-07-08 18:07:43 -0500
+
+ActionController::RoutingError (No route matches "/images/closelabel.png"):
+
+
+Rendered /Users/sophrinix/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.9/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (2.1ms)
+
+
+Started GET "/" for 127.0.0.1 at 2011-07-08 18:08:38 -0500
+ Processing by IndexController#index as HTML
+Rendered index/index.html.erb within layouts/application (1.3ms)
+Completed 200 OK in 7ms (Views: 6.4ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/facebox/closelabel.png" for 127.0.0.1 at 2011-07-08 18:08:38 -0500
+
+ActionController::RoutingError (No route matches "/facebox/closelabel.png"):
+
+
+Rendered /Users/sophrinix/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.9/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (1.1ms)
+
+
+Started GET "/stylesheets/images/plus.png" for 127.0.0.1 at 2011-07-08 18:08:38 -0500
+
+ActionController::RoutingError (No route matches "/stylesheets/images/plus.png"):
+
+
+Rendered /Users/sophrinix/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.9/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (1.1ms)
+
+
+Started GET "/images/loading.gif" for 127.0.0.1 at 2011-07-08 18:08:38 -0500
+
+ActionController::RoutingError (No route matches "/images/loading.gif"):
+
+
+Rendered /Users/sophrinix/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.9/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (1.1ms)
+
+
+Started GET "/images/closelabel.png" for 127.0.0.1 at 2011-07-08 18:08:38 -0500
+
+ActionController::RoutingError (No route matches "/images/closelabel.png"):
+
+
+Rendered /Users/sophrinix/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.9/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (1.4ms)
+
+
+Started GET "/" for 127.0.0.1 at 2011-07-08 18:09:04 -0500
+ Processing by IndexController#index as HTML
+Rendered index/index.html.erb within layouts/application (1.3ms)
+Completed 200 OK in 18ms (Views: 17.0ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/facebox/closelabel.png" for 127.0.0.1 at 2011-07-08 18:09:05 -0500
+
+ActionController::RoutingError (No route matches "/facebox/closelabel.png"):
+
+
+Rendered /Users/sophrinix/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.9/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (1.1ms)
+
+
+Started GET "/images/closelabel.png" for 127.0.0.1 at 2011-07-08 18:09:05 -0500
+
+ActionController::RoutingError (No route matches "/images/closelabel.png"):
+
+
+Rendered /Users/sophrinix/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.9/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (1.1ms)
+
+
+Started GET "/images/loading.gif" for 127.0.0.1 at 2011-07-08 18:09:05 -0500
+
+ActionController::RoutingError (No route matches "/images/loading.gif"):
+
+
+Rendered /Users/sophrinix/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.9/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (1.1ms)
+
+
+Started GET "/stylesheets/images/plus.png" for 127.0.0.1 at 2011-07-08 18:09:05 -0500
+
+ActionController::RoutingError (No route matches "/stylesheets/images/plus.png"):
+
+
+Rendered /Users/sophrinix/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.9/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (1.8ms)
+
+
+Started GET "/" for 127.0.0.1 at 2011-07-08 18:09:30 -0500
+ Processing by IndexController#index as HTML
+Rendered index/index.html.erb within layouts/application (1.3ms)
+Completed 200 OK in 8ms (Views: 7.0ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/stylesheets/images/plus.png" for 127.0.0.1 at 2011-07-08 18:09:30 -0500
+
+ActionController::RoutingError (No route matches "/stylesheets/images/plus.png"):
+
+
+Rendered /Users/sophrinix/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.9/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (1.1ms)
+
+
+Started GET "/facebox/closelabel.png" for 127.0.0.1 at 2011-07-08 18:09:30 -0500
+
+ActionController::RoutingError (No route matches "/facebox/closelabel.png"):
+
+
+Rendered /Users/sophrinix/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.9/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (1.8ms)
+
+
+Started GET "/images/closelabel.png" for 127.0.0.1 at 2011-07-08 18:09:30 -0500
+
+ActionController::RoutingError (No route matches "/images/closelabel.png"):
+
+
+Rendered /Users/sophrinix/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.9/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (1.1ms)
+
+
+Started GET "/images/loading.gif" for 127.0.0.1 at 2011-07-08 18:09:30 -0500
+
+ActionController::RoutingError (No route matches "/images/loading.gif"):
+
+
+Rendered /Users/sophrinix/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.9/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (1.3ms)
+
+
+Started GET "/" for 127.0.0.1 at 2011-07-08 18:10:21 -0500
+ Processing by IndexController#index as HTML
+Rendered index/index.html.erb within layouts/application (2.2ms)
+Completed 200 OK in 15ms (Views: 14.5ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/images/loading.gif" for 127.0.0.1 at 2011-07-08 18:10:22 -0500
+
+ActionController::RoutingError (No route matches "/images/loading.gif"):
+
+
+Rendered /Users/sophrinix/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.9/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (2.1ms)
+
+
+Started GET "/stylesheets/images/plus.png" for 127.0.0.1 at 2011-07-08 18:10:22 -0500
+
+ActionController::RoutingError (No route matches "/stylesheets/images/plus.png"):
+
+
+Rendered /Users/sophrinix/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.9/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (2.1ms)
+
+
+Started GET "/facebox/closelabel.png" for 127.0.0.1 at 2011-07-08 18:10:22 -0500
+
+ActionController::RoutingError (No route matches "/facebox/closelabel.png"):
+
+
+Rendered /Users/sophrinix/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.9/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (2.3ms)
+
+
+Started GET "/images/closelabel.png" for 127.0.0.1 at 2011-07-08 18:10:22 -0500
+
+ActionController::RoutingError (No route matches "/images/closelabel.png"):
+
+
+Rendered /Users/sophrinix/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.9/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (2.2ms)
+
+
+Started GET "/tutorials/intro" for 127.0.0.1 at 2011-07-08 18:10:22 -0500
+
+ActionController::RoutingError (No route matches "/tutorials/intro"):
+
+
+Rendered /Users/sophrinix/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.9/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (2.1ms)
+
+
+Started GET "/" for 127.0.0.1 at 2011-07-08 18:11:20 -0500
+ Processing by IndexController#index as HTML
+Rendered index/index.html.erb within layouts/application (2.0ms)
+Completed 200 OK in 14ms (Views: 13.4ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/stylesheets/images/plus.png" for 127.0.0.1 at 2011-07-08 18:11:20 -0500
+
+ActionController::RoutingError (No route matches "/stylesheets/images/plus.png"):
+
+
+Rendered /Users/sophrinix/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.9/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (2.3ms)
+
+
+Started GET "/images/loading.gif" for 127.0.0.1 at 2011-07-08 18:11:20 -0500
+
+ActionController::RoutingError (No route matches "/images/loading.gif"):
+
+
+Rendered /Users/sophrinix/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.9/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (2.2ms)
+
+
+Started GET "/images/closelabel.png" for 127.0.0.1 at 2011-07-08 18:11:20 -0500
+
+ActionController::RoutingError (No route matches "/images/closelabel.png"):
+
+
+Rendered /Users/sophrinix/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.9/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (2.2ms)
+
+
+Started GET "/facebox/closelabel.png" for 127.0.0.1 at 2011-07-08 18:11:21 -0500
+
+ActionController::RoutingError (No route matches "/facebox/closelabel.png"):
+
+
+Rendered /Users/sophrinix/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.9/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (2.0ms)
+
+
+Started GET "/tutorials/intro" for 127.0.0.1 at 2011-07-08 18:11:21 -0500
+ Processing by TutorialsController#intro as
+Rendered tutorials/intro.html.erb within layouts/application (2.2ms)
+Completed 200 OK in 41ms (Views: 40.5ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/facebox/closelabel.png" for 127.0.0.1 at 2011-07-08 18:11:23 -0500
+
+ActionController::RoutingError (No route matches "/facebox/closelabel.png"):
+
+
+Rendered /Users/sophrinix/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.9/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (2.1ms)
+
+
+Started GET "/images/closelabel.png" for 127.0.0.1 at 2011-07-08 18:11:23 -0500
+
+ActionController::RoutingError (No route matches "/images/closelabel.png"):
+
+
+Rendered /Users/sophrinix/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.9/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (3.8ms)
+
+
+Started GET "/images/loading.gif" for 127.0.0.1 at 2011-07-08 18:11:23 -0500
+
+ActionController::RoutingError (No route matches "/images/loading.gif"):
+
+
+Rendered /Users/sophrinix/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.9/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (2.3ms)
+
+
+Started GET "/" for 127.0.0.1 at 2011-07-08 18:11:39 -0500
+ Processing by IndexController#index as HTML
+Rendered index/index.html.erb within layouts/application (2.0ms)
+Completed 200 OK in 13ms (Views: 12.0ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/stylesheets/images/plus.png" for 127.0.0.1 at 2011-07-08 18:11:40 -0500
+
+ActionController::RoutingError (No route matches "/stylesheets/images/plus.png"):
+
+
+Rendered /Users/sophrinix/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.9/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (5.1ms)
+
+
+Started GET "/images/loading.gif" for 127.0.0.1 at 2011-07-08 18:11:40 -0500
+
+ActionController::RoutingError (No route matches "/images/loading.gif"):
+
+
+Rendered /Users/sophrinix/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.9/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (2.1ms)
+
+
+Started GET "/images/closelabel.png" for 127.0.0.1 at 2011-07-08 18:11:40 -0500
+
+ActionController::RoutingError (No route matches "/images/closelabel.png"):
+
+
+Rendered /Users/sophrinix/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.9/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (2.2ms)
+
+
+Started GET "/facebox/closelabel.png" for 127.0.0.1 at 2011-07-08 18:11:40 -0500
+
+ActionController::RoutingError (No route matches "/facebox/closelabel.png"):
+
+
+Rendered /Users/sophrinix/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.9/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (2.3ms)
+
+
+Started GET "/tutorials/intro" for 127.0.0.1 at 2011-07-08 18:11:41 -0500
+ Processing by TutorialsController#intro as
+Rendered tutorials/intro.html.erb within layouts/application (2.1ms)
+Completed 200 OK in 47ms (Views: 45.8ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/facebox/closelabel.png" for 127.0.0.1 at 2011-07-08 18:11:42 -0500
+
+ActionController::RoutingError (No route matches "/facebox/closelabel.png"):
+
+
+Rendered /Users/sophrinix/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.9/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (2.1ms)
+
+
+Started GET "/images/loading.gif" for 127.0.0.1 at 2011-07-08 18:11:42 -0500
+
+ActionController::RoutingError (No route matches "/images/loading.gif"):
+
+
+Rendered /Users/sophrinix/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.9/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (2.2ms)
+
+
+Started GET "/images/closelabel.png" for 127.0.0.1 at 2011-07-08 18:11:42 -0500
+
+ActionController::RoutingError (No route matches "/images/closelabel.png"):
+
+
+Rendered /Users/sophrinix/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.9/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (3.7ms)
+
+
+Started GET "/" for 127.0.0.1 at 2011-07-08 18:13:34 -0500
+ Processing by IndexController#index as HTML
+Rendered index/index.html.erb within layouts/application (2.2ms)
+Completed 200 OK in 14ms (Views: 13.2ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/stylesheets/images/plus.png" for 127.0.0.1 at 2011-07-08 18:13:35 -0500
+
+ActionController::RoutingError (No route matches "/stylesheets/images/plus.png"):
+
+
+Rendered /Users/sophrinix/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.9/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (2.9ms)
+
+
+Started GET "/images/closelabel.png" for 127.0.0.1 at 2011-07-08 18:13:35 -0500
+
+ActionController::RoutingError (No route matches "/images/closelabel.png"):
+
+
+Rendered /Users/sophrinix/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.9/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (2.1ms)
+
+
+Started GET "/facebox/closelabel.png" for 127.0.0.1 at 2011-07-08 18:13:35 -0500
+
+ActionController::RoutingError (No route matches "/facebox/closelabel.png"):
+
+
+Rendered /Users/sophrinix/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.9/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (6.7ms)
+
+
+Started GET "/images/loading.gif" for 127.0.0.1 at 2011-07-08 18:13:35 -0500
+
+ActionController::RoutingError (No route matches "/images/loading.gif"):
+
+
+Rendered /Users/sophrinix/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.9/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (2.1ms)
+
+
+Started GET "/tutorials/intro" for 127.0.0.1 at 2011-07-08 18:13:36 -0500
+ Processing by TutorialsController#intro as
+Rendered tutorials/intro.html.erb within layouts/blank (14.9ms)
+Completed 200 OK in 51ms (Views: 50.6ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/tryruby/run?cmd=%21INIT%21IRB%21" for 127.0.0.1 at 2011-07-08 18:13:41 -0500
+
+ActionController::RoutingError (No route matches "/tryruby/run"):
+
+
+Rendered /Users/sophrinix/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.9/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (2.0ms)
+
+
+Started GET "/tryruby/run?cmd=1" for 127.0.0.1 at 2011-07-08 18:13:42 -0500
+
+ActionController::RoutingError (No route matches "/tryruby/run"):
+
+
+Rendered /Users/sophrinix/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.9/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (2.4ms)
View
0  tryruby/public/stylesheets/.gitkeep → log/production.log
File renamed without changes
View
0  tryruby/public/favicon.ico → log/server.log
File renamed without changes
View
0  tryruby/lib/tasks/.gitkeep → log/test.log
File renamed without changes
View
0  tryruby/public/404.html → public/404.html
File renamed without changes
View
0  tryruby/public/422.html → public/422.html
File renamed without changes
View
0  tryruby/public/500.html → public/500.html
File renamed without changes
View
0  public/favicon.ico
No changes.
View
0  tryruby/public/images/background.png → public/images/background.png
File renamed without changes
View
0  tryruby/public/images/footer.png → public/images/footer.png
File renamed without changes
View
0  tryruby/public/images/header.png → public/images/header.png
File renamed without changes
View
0  tryruby/public/javascripts/index.html → public/images/index.html
File renamed without changes
View
0  tryruby/public/images/rails.png → public/images/rails.png
File renamed without changes
View
0  tryruby/public/images/tile.png → public/images/tile.png
File renamed without changes
View
0  tryruby/public/javascripts/application.js → public/javascripts/application.js
File renamed without changes
View
0  tryruby/public/javascripts/console.js → public/javascripts/console.js
File renamed without changes
View
0  tryruby/public/javascripts/controls.js → public/javascripts/controls.js
File renamed without changes
View
0  tryruby/public/javascripts/dragdrop.js → public/javascripts/dragdrop.js
File renamed without changes
View
0  tryruby/public/javascripts/effects.js → public/javascripts/effects.js
File renamed without changes
View
0  tryruby/public/javascripts/facebox.js → public/javascripts/facebox.js
File renamed without changes
View
0  tryruby/public/images/index.html → public/javascripts/index.html
File renamed without changes
View
0  tryruby/public/javascripts/irb.js → public/javascripts/irb.js
File renamed without changes
View
0  tryruby/public/javascripts/jQuery.irb.js → public/javascripts/jQuery.irb.js
File renamed without changes
View
0  ...by/public/javascripts/jquery-1.3.2.min.js → public/javascripts/jquery-1.3.2.min.js
File renamed without changes
View
0  ...by/public/javascripts/jquery-1.4.2.min.js → public/javascripts/jquery-1.4.2.min.js
File renamed without changes
View
0  tryruby/public/javascripts/jquery.console.js → public/javascripts/jquery.console.js
File renamed without changes
View
0  .../public/javascripts/jquery.console.min.js → public/javascripts/jquery.console.min.js
File renamed without changes
View
0  tryruby/public/javascripts/jquery.js → public/javascripts/jquery.js
File renamed without changes
View
0  tryruby/public/javascripts/json2.js → public/javascripts/json2.js
File renamed without changes
View
0  tryruby/public/javascripts/lib.min.js → public/javascripts/lib.min.js
File renamed without changes
View
0  tryruby/public/javascripts/mouseapp_2.js → public/javascripts/mouseapp_2.js
File renamed without changes
View
0  tryruby/public/javascripts/mouseirb_2.js → public/javascripts/mouseirb_2.js
File renamed without changes
View
0  tryruby/public/javascripts/prototype.js → public/javascripts/prototype.js
File renamed without changes
View
0  tryruby/public/javascripts/rails.js → public/javascripts/rails.js
File renamed without changes
View
0  tryruby/public/javascripts/raphael-min.js → public/javascripts/raphael-min.js
File renamed without changes
View
0  tryruby/public/robots.txt → public/robots.txt
File renamed without changes
View
0  public/stylesheets/.gitkeep
No changes.
View
0  tryruby/public/stylesheets/facebox.css → public/stylesheets/facebox.css
File renamed without changes
View
0  tryruby/public/stylesheets/reset.css → public/stylesheets/reset.css
File renamed without changes
View
0  tryruby/public/stylesheets/scaffold.css → public/stylesheets/scaffold.css
File renamed without changes
View
0  tryruby/public/stylesheets/site.css → public/stylesheets/site.css
File renamed without changes
View
0  tryruby/script/rails → script/rails
File renamed without changes
View
0  .../test/functional/index_controller_test.rb → test/functional/index_controller_test.rb
File renamed without changes
View
0  ...t/functional/tutorials_controller_test.rb → test/functional/tutorials_controller_test.rb
File renamed without changes
View
0  tryruby/test/performance/browsing_test.rb → test/performance/browsing_test.rb
File renamed without changes
View
0  tryruby/test/test_helper.rb → test/test_helper.rb
File renamed without changes
View
0  ...by/test/unit/helpers/index_helper_test.rb → test/unit/helpers/index_helper_test.rb
File renamed without changes
View
0  ...est/unit/helpers/tutorials_helper_test.rb → test/unit/helpers/tutorials_helper_test.rb
File renamed without changes
View
4 tryruby/.gitignore
@@ -1,4 +0,0 @@
-.bundle
-db/*.sqlite3
-log/*.log
-tmp/
View
256 tryruby/README
@@ -1,256 +0,0 @@
-== Welcome to Rails
-
-Rails is a web-application framework that includes everything needed to create
-database-backed web applications according to the Model-View-Control pattern.
-
-This pattern splits the view (also called the presentation) into "dumb"
-templates that are primarily responsible for inserting pre-built data in between
-HTML tags. The model contains the "smart" domain objects (such as Account,
-Product, Person, Post) that holds all the business logic and knows how to
-persist themselves to a database. The controller handles the incoming requests
-(such as Save New Account, Update Product, Show Post) by manipulating the model
-and directing data to the view.
-
-In Rails, the model is handled by what's called an object-relational mapping
-layer entitled Active Record. This layer allows you to present the data from
-database rows as objects and embellish these data objects with business logic
-methods. You can read more about Active Record in
-link:files/vendor/rails/activerecord/README.html.
-
-The controller and view are handled by the Action Pack, which handles both
-layers by its two parts: Action View and Action Controller. These two layers
-are bundled in a single package due to their heavy interdependence. This is
-unlike the relationship between the Active Record and Action Pack that is much
-more separate. Each of these packages can be used independently outside of
-Rails. You can read more about Action Pack in
-link:files/vendor/rails/actionpack/README.html.
-
-
-== Getting Started
-
-1. At the command prompt, create a new Rails application:
- <tt>rails new myapp</tt> (where <tt>myapp</tt> is the application name)
-
-2. Change directory to <tt>myapp</tt> and start the web server:
- <tt>cd myapp; rails server</tt> (run with --help for options)
-
-3. Go to http://localhost:3000/ and you'll see:
- "Welcome aboard: You're riding Ruby on Rails!"
-
-4. Follow the guidelines to start developing your application. You can find
-the following resources handy:
-
-* The Getting Started Guide: http://guides.rubyonrails.org/getting_started.html
-* Ruby on Rails Tutorial Book: http://www.railstutorial.org/
-
-
-== Debugging Rails
-
-Sometimes your application goes wrong. Fortunately there are a lot of tools that
-will help you debug it and get it back on the rails.
-
-First area to check is the application log files. Have "tail -f" commands
-running on the server.log and development.log. Rails will automatically display
-debugging and runtime information to these files. Debugging info will also be
-shown in the browser on requests from 127.0.0.1.
-
-You can also log your own messages directly into the log file from your code
-using the Ruby logger class from inside your controllers. Example:
-
- class WeblogController < ActionController::Base
- def destroy
- @weblog = Weblog.find(params[:id])
- @weblog.destroy
- logger.info("#{Time.now} Destroyed Weblog ID ##{@weblog.id}!")
- end
- end
-
-The result will be a message in your log file along the lines of:
-
- Mon Oct 08 14:22:29 +1000 2007 Destroyed Weblog ID #1!
-
-More information on how to use the logger is at http://www.ruby-doc.org/core/
-
-Also, Ruby documentation can be found at http://www.ruby-lang.org/. There are
-several books available online as well:
-
-* Programming Ruby: http://www.ruby-doc.org/docs/ProgrammingRuby/ (Pickaxe)
-* Learn to Program: http://pine.fm/LearnToProgram/ (a beginners guide)
-
-These two books will bring you up to speed on the Ruby language and also on
-programming in general.
-
-
-== Debugger
-
-Debugger support is available through the debugger command when you start your
-Mongrel or WEBrick server with --debugger. This means that you can break out of
-execution at any point in the code, investigate and change the model, and then,
-resume execution! You need to install ruby-debug to run the server in debugging
-mode. With gems, use <tt>sudo gem install ruby-debug</tt>. Example:
-
- class WeblogController < ActionController::Base
- def index
- @posts = Post.find(:all)
- debugger
- end
- end
-
-So the controller will accept the action, run the first line, then present you
-with a IRB prompt in the server window. Here you can do things like:
-
- >> @posts.inspect
- => "[#<Post:0x14a6be8
- @attributes={"title"=>nil, "body"=>nil, "id"=>"1"}>,
- #<Post:0x14a6620
- @attributes={"title"=>"Rails", "body"=>"Only ten..", "id"=>"2"}>]"
- >> @posts.first.title = "hello from a debugger"
- => "hello from a debugger"
-
-...and even better, you can examine how your runtime objects actually work:
-
- >> f = @posts.first
- => #<Post:0x13630c4 @attributes={"title"=>nil, "body"=>nil, "id"=>"1"}>
- >> f.
- Display all 152 possibilities? (y or n)
-
-Finally, when you're ready to resume execution, you can enter "cont".
-
-
-== Console
-
-The console is a Ruby shell, which allows you to interact with your
-application's domain model. Here you'll have all parts of the application
-configured, just like it is when the application is running. You can inspect
-domain models, change values, and save to the database. Starting the script
-without arguments will launch it in the development environment.
-
-To start the console, run <tt>rails console</tt> from the application
-directory.
-
-Options:
-
-* Passing the <tt>-s, --sandbox</tt> argument will rollback any modifications
- made to the database.
-* Passing an environment name as an argument will load the corresponding
- environment. Example: <tt>rails console production</tt>.
-
-To reload your controllers and models after launching the console run
-<tt>reload!</tt>
-
-More information about irb can be found at:
-link:http://www.rubycentral.com/pickaxe/irb.html
-
-
-== dbconsole
-
-You can go to the command line of your database directly through <tt>rails
-dbconsole</tt>. You would be connected to the database with the credentials
-defined in database.yml. Starting the script without arguments will connect you
-to the development database. Passing an argument will connect you to a different
-database, like <tt>rails dbconsole production</tt>. Currently works for MySQL,
-PostgreSQL and SQLite 3.
-
-== Description of Contents
-
-The default directory structure of a generated Ruby on Rails application:
-
- |-- app
- | |-- controllers
- | |-- helpers
- | |-- mailers
- | |-- models
- | `-- views
- | `-- layouts
- |-- config
- | |-- environments
- | |-- initializers
- | `-- locales
- |-- db
- |-- doc
- |-- lib
- | `-- tasks
- |-- log
- |-- public
- | |-- images
- | |-- javascripts
- | `-- stylesheets
- |-- script
- |-- test
- | |-- fixtures
- | |-- functional
- | |-- integration
- | |-- performance
- | `-- unit
- |-- tmp
- | |-- cache
- | |-- pids
- | |-- sessions
- | `-- sockets
- `-- vendor
- `-- plugins
-
-app
- Holds all the code that's specific to this particular application.
-
-app/controllers
- Holds controllers that should be named like weblogs_controller.rb for
- automated URL mapping. All controllers should descend from
- ApplicationController which itself descends from ActionController::Base.
-
-app/models
- Holds models that should be named like post.rb. Models descend from
- ActiveRecord::Base by default.
-
-app/views
- Holds the template files for the view that should be named like
- weblogs/index.html.erb for the WeblogsController#index action. All views use
- eRuby syntax by default.
-
-app/views/layouts
- Holds the template files for layouts to be used with views. This models the
- common header/footer method of wrapping views. In your views, define a layout
- using the <tt>layout :default</tt> and create a file named default.html.erb.
- Inside default.html.erb, call <% yield %> to render the view using this
- layout.
-
-app/helpers
- Holds view helpers that should be named like weblogs_helper.rb. These are
- generated for you automatically when using generators for controllers.
- Helpers can be used to wrap functionality for your views into methods.
-
-config
- Configuration files for the Rails environment, the routing map, the database,
- and other dependencies.
-
-db
- Contains the database schema in schema.rb. db/migrate contains all the
- sequence of Migrations for your schema.
-
-doc
- This directory is where your application documentation will be stored when
- generated using <tt>rake doc:app</tt>
-
-lib
- Application specific libraries. Basically, any kind of custom code that
- doesn't belong under controllers, models, or helpers. This directory is in
- the load path.
-
-public
- The directory available for the web server. Contains subdirectories for
- images, stylesheets, and javascripts. Also contains the dispatchers and the
- default HTML files. This should be set as the DOCUMENT_ROOT of your web
- server.
-
-script
- Helper scripts for automation and generation.
-
-test
- Unit and functional tests along with fixtures. When using the rails generate
- command, template test files will be generated for you and placed in this
- directory.
-
-vendor
- External libraries that the application depends on. Also includes the plugins
- subdirectory. If the app has frozen rails, those gems also go here, under
- vendor/rails/. This directory is in the load path.
View
0  vendor/plugins/.gitkeep
No changes.

0 comments on commit e38c726

Please sign in to comment.
Something went wrong with that request. Please try again.