Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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
Andrew McElroy Sophrinix authored

Showing 83 changed files with 902 additions and 330 deletions. Show diff stats Hide diff stats

  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 → }/lib/tasks/.gitkeep
  33. +673 0 log/development.log
  34. 0  tryruby/public/favicon.ico → log/production.log
  35. 0  tryruby/public/stylesheets/.gitkeep → log/server.log
  36. 0  tryruby/vendor/plugins/.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/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/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
0  tryruby/Gemfile → Gemfile
File renamed without changes
299 README
... ... @@ -1,97 +1,256 @@
1   -TRYRUBY! is now 1.9 ready and hosted using 1.9. Please note this is beta software.
  1 +== Welcome to Rails
2 2
3   -Copyright (c) 2009 Andrew McElroy
  3 +Rails is a web-application framework that includes everything needed to create
  4 +database-backed web applications according to the Model-View-Control pattern.
4 5
5   -index.html is Copyright (c) 2009 _why
6   -test.rb, tryruby_runner.rb Copyright (c) 2009 David Miani
  6 +This pattern splits the view (also called the presentation) into "dumb"
  7 +templates that are primarily responsible for inserting pre-built data in between
  8 +HTML tags. The model contains the "smart" domain objects (such as Account,
  9 +Product, Person, Post) that holds all the business logic and knows how to
  10 +persist themselves to a database. The controller handles the incoming requests
  11 +(such as Save New Account, Update Product, Show Post) by manipulating the model
  12 +and directing data to the view.
7 13
  14 +In Rails, the model is handled by what's called an object-relational mapping
  15 +layer entitled Active Record. This layer allows you to present the data from
  16 +database rows as objects and embellish these data objects with business logic
  17 +methods. You can read more about Active Record in
  18 +link:files/vendor/rails/activerecord/README.html.
8 19
9   -Permission is hereby granted, free of charge, to any person
10   -obtaining a copy of this software and associated documentation
11   -files (the "Software"), to deal in the Software without
12   -restriction, including without limitation the rights to use,
13   -copy, modify, merge, publish, distribute, sublicense, and/or sell
14   -copies of the Software, and to permit persons to whom the
15   -Software is furnished to do so, subject to the following
16   -conditions:
  20 +The controller and view are handled by the Action Pack, which handles both
  21 +layers by its two parts: Action View and Action Controller. These two layers
  22 +are bundled in a single package due to their heavy interdependence. This is
  23 +unlike the relationship between the Active Record and Action Pack that is much
  24 +more separate. Each of these packages can be used independently outside of
  25 +Rails. You can read more about Action Pack in
  26 +link:files/vendor/rails/actionpack/README.html.
17 27
18   -The above copyright notice and this permission notice shall be
19   -included in all copies or substantial portions of the Software.
20 28
21   -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
22   -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
23   -OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
24   -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
25   -HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
26   -WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
27   -FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
28   -OTHER DEALINGS IN THE SOFTWARE.
  29 +== Getting Started
29 30
30   -What is TryRuby?
31   ---------------------------------------------------------------------------------------
32   -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.
  31 +1. At the command prompt, create a new Rails application:
  32 + <tt>rails new myapp</tt> (where <tt>myapp</tt> is the application name)
33 33
34   -Please note that If you feel like you are stuck in the middle of a lesson try typing:
  34 +2. Change directory to <tt>myapp</tt> and start the web server:
  35 + <tt>cd myapp; rails server</tt> (run with --help for options)
35 36
36   -next
  37 +3. Go to http://localhost:3000/ and you'll see:
  38 + "Welcome aboard: You're riding Ruby on Rails!"
37 39
38   -Doing so will skip to to the next part of the less/next lesson
  40 +4. Follow the guidelines to start developing your application. You can find
  41 +the following resources handy:
39 42
40   -UPDATE:
41   -EXPECT TO SEE THIS CHANGE IN THE NEXT FEW DAYS. I AM LOOKING INTO A SQLITE STORE OPTION.
42   -The sessions are now stored in a tmp folder.
43   -For the time being it is within the htdoc path. I know this is bad.
44   -I have included an index.html that redirects you back to the home page in the mean time.
45   -Ideally, I need to put this some place like /var/logs/tryruby.
  43 +* The Getting Started Guide: http://guides.rubyonrails.org/getting_started.html
  44 +* Ruby on Rails Tutorial Book: http://www.railstutorial.org/
46 45
47 46
  47 +== Debugging Rails
48 48
49   -from there I will see about the viability of making this use the r bridge so you
50   -can have ruby to R lessons. :-)
  49 +Sometimes your application goes wrong. Fortunately there are a lot of tools that
  50 +will help you debug it and get it back on the rails.
51 51
52   -Explaination of /irb.cgi
53   -========================
54   -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:
55   - - 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).
56   - - Return the output, optionally formatted using normal shell escapes (eg "\033[1;33mThis appears orange")
  52 +First area to check is the application log files. Have "tail -f" commands
  53 +running on the server.log and development.log. Rails will automatically display
  54 +debugging and runtime information to these files. Debugging info will also be
  55 +shown in the browser on requests from 127.0.0.1.
57 56
58   -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.
  57 +You can also log your own messages directly into the log file from your code
  58 +using the Ruby logger class from inside your controllers. Example:
59 59
60   -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).
  60 + class WeblogController < ActionController::Base
  61 + def destroy
  62 + @weblog = Weblog.find(params[:id])
  63 + @weblog.destroy
  64 + logger.info("#{Time.now} Destroyed Weblog ID ##{@weblog.id}!")
  65 + end
  66 + end
61 67
62   -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.
  68 +The result will be a message in your log file along the lines of:
63 69
64   -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".
65   -
66   -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.
67   -
68   -Finally, if the command isn't finished (eg "def myfunc"), then ".." should be returned. Eg /irb.cgi?cmd=def%20myfunc should return "..".
69   -
70   -
71   -How this works with the help system:
72   -====================================
73   -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.
74   -
75   -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 =>
76   -
77   -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$'
78   -
79   -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.
80   -
81   -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
82   -
83   -
84   -
85   -Current Implementation
86   -======================
87   -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'].
88   -
89   -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.
  70 + Mon Oct 08 14:22:29 +1000 2007 Destroyed Weblog ID #1!
90 71
  72 +More information on how to use the logger is at http://www.ruby-doc.org/core/
91 73
  74 +Also, Ruby documentation can be found at http://www.ruby-lang.org/. There are
  75 +several books available online as well:
92 76
  77 +* Programming Ruby: http://www.ruby-doc.org/docs/ProgrammingRuby/ (Pickaxe)
  78 +* Learn to Program: http://pine.fm/LearnToProgram/ (a beginners guide)
93 79
  80 +These two books will bring you up to speed on the Ruby language and also on
  81 +programming in general.
94 82
95 83
  84 +== Debugger
96 85
  86 +Debugger support is available through the debugger command when you start your
  87 +Mongrel or WEBrick server with --debugger. This means that you can break out of
  88 +execution at any point in the code, investigate and change the model, and then,
  89 +resume execution! You need to install ruby-debug to run the server in debugging
  90 +mode. With gems, use <tt>sudo gem install ruby-debug</tt>. Example:
  91 +
  92 + class WeblogController < ActionController::Base
  93 + def index
  94 + @posts = Post.find(:all)
  95 + debugger
  96 + end
  97 + end
  98 +
  99 +So the controller will accept the action, run the first line, then present you
  100 +with a IRB prompt in the server window. Here you can do things like:
  101 +
  102 + >> @posts.inspect
  103 + => "[#<Post:0x14a6be8
  104 + @attributes={"title"=>nil, "body"=>nil, "id"=>"1"}>,
  105 + #<Post:0x14a6620
  106 + @attributes={"title"=>"Rails", "body"=>"Only ten..", "id"=>"2"}>]"
  107 + >> @posts.first.title = "hello from a debugger"
  108 + => "hello from a debugger"
  109 +
  110 +...and even better, you can examine how your runtime objects actually work:
  111 +
  112 + >> f = @posts.first
  113 + => #<Post:0x13630c4 @attributes={"title"=>nil, "body"=>nil, "id"=>"1"}>
  114 + >> f.
  115 + Display all 152 possibilities? (y or n)
  116 +
  117 +Finally, when you're ready to resume execution, you can enter "cont".
  118 +
  119 +
  120 +== Console
  121 +
  122 +The console is a Ruby shell, which allows you to interact with your
  123 +application's domain model. Here you'll have all parts of the application
  124 +configured, just like it is when the application is running. You can inspect
  125 +domain models, change values, and save to the database. Starting the script
  126 +without arguments will launch it in the development environment.
97 127
  128 +To start the console, run <tt>rails console</tt> from the application
  129 +directory.
  130 +
  131 +Options:
  132 +
  133 +* Passing the <tt>-s, --sandbox</tt> argument will rollback any modifications
  134 + made to the database.
  135 +* Passing an environment name as an argument will load the corresponding
  136 + environment. Example: <tt>rails console production</tt>.
  137 +
  138 +To reload your controllers and models after launching the console run
  139 +<tt>reload!</tt>
  140 +
  141 +More information about irb can be found at:
  142 +link:http://www.rubycentral.com/pickaxe/irb.html
  143 +
  144 +
  145 +== dbconsole
  146 +
  147 +You can go to the command line of your database directly through <tt>rails
  148 +dbconsole</tt>. You would be connected to the database with the credentials
  149 +defined in database.yml. Starting the script without arguments will connect you
  150 +to the development database. Passing an argument will connect you to a different
  151 +database, like <tt>rails dbconsole production</tt>. Currently works for MySQL,
  152 +PostgreSQL and SQLite 3.
  153 +
  154 +== Description of Contents
  155 +
  156 +The default directory structure of a generated Ruby on Rails application:
  157 +
  158 + |-- app
  159 + | |-- controllers
  160 + | |-- helpers
  161 + | |-- mailers
  162 + | |-- models
  163 + | `-- views
  164 + | `-- layouts
  165 + |-- config
  166 + | |-- environments
  167 + | |-- initializers
  168 + | `-- locales
  169 + |-- db
  170 + |-- doc
  171 + |-- lib
  172 + | `-- tasks
  173 + |-- log
  174 + |-- public
  175 + | |-- images
  176 + | |-- javascripts
  177 + | `-- stylesheets
  178 + |-- script
  179 + |-- test
  180 + | |-- fixtures
  181 + | |-- functional
  182 + | |-- integration
  183 + | |-- performance
  184 + | `-- unit
  185 + |-- tmp
  186 + | |-- cache
  187 + | |-- pids
  188 + | |-- sessions
  189 + | `-- sockets
  190 + `-- vendor
  191 + `-- plugins
  192 +
  193 +app
  194 + Holds all the code that's specific to this particular application.
  195 +
  196 +app/controllers
  197 + Holds controllers that should be named like weblogs_controller.rb for
  198 + automated URL mapping. All controllers should descend from
  199 + ApplicationController which itself descends from ActionController::Base.
  200 +
  201 +app/models
  202 + Holds models that should be named like post.rb. Models descend from
  203 + ActiveRecord::Base by default.
  204 +
  205 +app/views
  206 + Holds the template files for the view that should be named like
  207 + weblogs/index.html.erb for the WeblogsController#index action. All views use
  208 + eRuby syntax by default.
  209 +
  210 +app/views/layouts
  211 + Holds the template files for layouts to be used with views. This models the
  212 + common header/footer method of wrapping views. In your views, define a layout
  213 + using the <tt>layout :default</tt> and create a file named default.html.erb.
  214 + Inside default.html.erb, call <% yield %> to render the view using this
  215 + layout.
  216 +
  217 +app/helpers
  218 + Holds view helpers that should be named like weblogs_helper.rb. These are
  219 + generated for you automatically when using generators for controllers.
  220 + Helpers can be used to wrap functionality for your views into methods.
  221 +
  222 +config
  223 + Configuration files for the Rails environment, the routing map, the database,
  224 + and other dependencies.
  225 +
  226 +db
  227 + Contains the database schema in schema.rb. db/migrate contains all the
  228 + sequence of Migrations for your schema.
  229 +
  230 +doc
  231 + This directory is where your application documentation will be stored when
  232 + generated using <tt>rake doc:app</tt>
  233 +
  234 +lib
  235 + Application specific libraries. Basically, any kind of custom code that
  236 + doesn't belong under controllers, models, or helpers. This directory is in
  237 + the load path.
  238 +
  239 +public
  240 + The directory available for the web server. Contains subdirectories for
  241 + images, stylesheets, and javascripts. Also contains the dispatchers and the
  242 + default HTML files. This should be set as the DOCUMENT_ROOT of your web
  243 + server.
  244 +
  245 +script
  246 + Helper scripts for automation and generation.
  247 +
  248 +test
  249 + Unit and functional tests along with fixtures. When using the rails generate
  250 + command, template test files will be generated for you and placed in this
  251 + directory.
  252 +
  253 +vendor
  254 + External libraries that the application depends on. Also includes the plugins
  255 + subdirectory. If the app has frozen rails, those gems also go here, under
  256 + vendor/rails/. This directory is in the load path.
0  tryruby/Rakefile → Rakefile
File renamed without changes
0  tryruby/app/controllers/application_controller.rb → app/controllers/application_controller.rb
File renamed without changes
0  tryruby/app/controllers/index_controller.rb → app/controllers/index_controller.rb
File renamed without changes
0  tryruby/app/controllers/tutorials_controller.rb → app/controllers/tutorials_controller.rb
File renamed without changes
0  tryruby/app/helpers/application_helper.rb → app/helpers/application_helper.rb
File renamed without changes
0  tryruby/app/helpers/index_helper.rb → app/helpers/index_helper.rb
File renamed without changes
0  tryruby/app/helpers/tutorials_helper.rb → app/helpers/tutorials_helper.rb
File renamed without changes
0  tryruby/app/views/index/index.html.erb → app/views/index/index.html.erb
File renamed without changes
0  tryruby/app/views/index/terminal.html.erb → app/views/index/terminal.html.erb
File renamed without changes
0  tryruby/app/views/layouts/application.html.erb → app/views/layouts/application.html.erb
File renamed without changes
0  tryruby/app/views/layouts/blank.html.erb → app/views/layouts/blank.html.erb
File renamed without changes
0  tryruby/app/views/tutorials/intro.html.erb → app/views/tutorials/intro.html.erb
File renamed without changes
0  tryruby/config.ru → config.ru
File renamed without changes
0  tryruby/config/application.rb → config/application.rb
File renamed without changes
0  tryruby/config/boot.rb → config/boot.rb
File renamed without changes
0  tryruby/config/database.yml → config/database.yml
File renamed without changes
0  tryruby/config/environment.rb → config/environment.rb
File renamed without changes
0  tryruby/config/environments/development.rb → config/environments/development.rb
File renamed without changes
0  tryruby/config/environments/production.rb → config/environments/production.rb
File renamed without changes
0  tryruby/config/environments/test.rb → config/environments/test.rb
File renamed without changes
0  tryruby/config/initializers/backtrace_silencers.rb → config/initializers/backtrace_silencers.rb
File renamed without changes
0  tryruby/config/initializers/inflections.rb → config/initializers/inflections.rb
File renamed without changes
0  tryruby/config/initializers/mime_types.rb → config/initializers/mime_types.rb
File renamed without changes
0  tryruby/config/initializers/secret_token.rb → config/initializers/secret_token.rb
File renamed without changes
0  tryruby/config/initializers/session_store.rb → config/initializers/session_store.rb
File renamed without changes
0  tryruby/config/locales/en.yml → config/locales/en.yml
File renamed without changes
0  tryruby/config/routes.rb → config/routes.rb
File renamed without changes
0  tryruby/db/seeds.rb → db/seeds.rb
File renamed without changes
0  tryruby/doc/README_FOR_APP → doc/README_FOR_APP
File renamed without changes
0  tryruby/lib/tasks/.gitkeep → lib/tasks/.gitkeep
File renamed without changes
673 log/development.log
... ... @@ -0,0 +1,673 @@
  1 +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)
  2 +
  3 +
  4 +Started GET "/" for 127.0.0.1 at 2011-07-08 17:52:45 -0500
  5 +
  6 +ActionController::RoutingError (No route matches "/"):
  7 +
  8 +
  9 +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)
  10 +
  11 +
  12 +Started GET "/" for 127.0.0.1 at 2011-07-08 17:54:39 -0500
  13 +
  14 +ActionController::RoutingError (No route matches "/"):
  15 +
  16 +
  17 +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)
  18 +
  19 +
  20 +Started GET "/" for 127.0.0.1 at 2011-07-08 17:54:44 -0500
  21 +
  22 +ActionController::RoutingError (No route matches "/"):
  23 +
  24 +
  25 +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)
  26 +
  27 +
  28 +Started GET "/" for 127.0.0.1 at 2011-07-08 17:54:57 -0500
  29 +
  30 +NoMethodError (undefined method `reverse_merge' for #<ActionDispatch::Routing::Mapper:0x000001036a9a60>):
  31 + config/routes.rb:2:in `block in <top (required)>'
  32 + config/routes.rb:1:in `<top (required)>'
  33 +
  34 +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)
  35 +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)
  36 +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)
  37 +
  38 +
  39 +Started GET "/" for 127.0.0.1 at 2011-07-08 17:55:29 -0500
  40 +
  41 +ArgumentError (missing :action):
  42 + config/routes.rb:2:in `block in <top (required)>'
  43 + config/routes.rb:1:in `<top (required)>'
  44 +
  45 +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)
  46 +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)
  47 +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)
  48 +
  49 +
  50 +Started GET "/" for 127.0.0.1 at 2011-07-08 17:55:42 -0500
  51 + Processing by IndexController#index as HTML
  52 +Completed 500 Internal Server Error in 73ms
  53 +
  54 +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"):
  55 +
  56 +
  57 +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)
  58 +
  59 +
  60 +Started GET "/" for 127.0.0.1 at 2011-07-08 17:55:56 -0500
  61 + Processing by IndexController#index as HTML
  62 +Rendered index/index.html.erb within layouts/application (2.0ms)
  63 +Completed 200 OK in 13ms (Views: 12.0ms | ActiveRecord: 0.0ms)
  64 +
  65 +
  66 +Started GET "/images/footer.png" for 127.0.0.1 at 2011-07-08 17:55:57 -0500
  67 +
  68 +ActionController::RoutingError (No route matches "/images/footer.png"):
  69 +
  70 +
  71 +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)
  72 +
  73 +
  74 +Started GET "/images/header.png" for 127.0.0.1 at 2011-07-08 17:55:57 -0500
  75 +
  76 +ActionController::RoutingError (No route matches "/images/header.png"):
  77 +
  78 +
  79 +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)
  80 +
  81 +
  82 +Started GET "/images/header.png" for 127.0.0.1 at 2011-07-08 17:55:57 -0500
  83 +
  84 +ActionController::RoutingError (No route matches "/images/header.png"):
  85 +
  86 +
  87 +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)
  88 +
  89 +
  90 +Started GET "/images/footer.png" for 127.0.0.1 at 2011-07-08 17:55:57 -0500
  91 +
  92 +ActionController::RoutingError (No route matches "/images/footer.png"):
  93 +
  94 +
  95 +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)
  96 +
  97 +
  98 +Started GET "/stylesheets/images/plus.png" for 127.0.0.1 at 2011-07-08 17:55:57 -0500
  99 +
  100 +ActionController::RoutingError (No route matches "/stylesheets/images/plus.png"):
  101 +
  102 +
  103 +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)
  104 +
  105 +
  106 +Started GET "/images/closelabel.png" for 127.0.0.1 at 2011-07-08 17:55:57 -0500
  107 +
  108 +ActionController::RoutingError (No route matches "/images/closelabel.png"):
  109 +
  110 +
  111 +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)
  112 +
  113 +
  114 +Started GET "/images/loading.gif" for 127.0.0.1 at 2011-07-08 17:55:58 -0500
  115 +
  116 +ActionController::RoutingError (No route matches "/images/loading.gif"):
  117 +
  118 +
  119 +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)
  120 +
  121 +
  122 +Started GET "/facebox/closelabel.png" for 127.0.0.1 at 2011-07-08 17:55:58 -0500
  123 +
  124 +ActionController::RoutingError (No route matches "/facebox/closelabel.png"):
  125 +
  126 +
  127 +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)
  128 +
  129 +
  130 +Started GET "/" for 127.0.0.1 at 2011-07-08 17:57:25 -0500
  131 + Processing by IndexController#index as HTML
  132 +Rendered index/index.html.erb within layouts/application (2.3ms)
  133 +Completed 200 OK in 14ms (Views: 13.3ms | ActiveRecord: 0.0ms)
  134 +
  135 +
  136 +Started GET "/images/footer.png" for 127.0.0.1 at 2011-07-08 17:57:25 -0500
  137 +
  138 +ActionController::RoutingError (No route matches "/images/footer.png"):
  139 +
  140 +
  141 +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)
  142 +
  143 +
  144 +Started GET "/images/header.png" for 127.0.0.1 at 2011-07-08 17:57:25 -0500
  145 +
  146 +ActionController::RoutingError (No route matches "/images/header.png"):
  147 +
  148 +
  149 +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)
  150 +
  151 +
  152 +Started GET "/images/footer.png" for 127.0.0.1 at 2011-07-08 17:57:25 -0500
  153 +
  154 +ActionController::RoutingError (No route matches "/images/footer.png"):
  155 +
  156 +
  157 +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)
  158 +
  159 +
  160 +Started GET "/images/header.png" for 127.0.0.1 at 2011-07-08 17:57:25 -0500
  161 +
  162 +ActionController::RoutingError (No route matches "/images/header.png"):
  163 +
  164 +
  165 +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)
  166 +
  167 +
  168 +Started GET "/facebox/closelabel.png" for 127.0.0.1 at 2011-07-08 17:57:26 -0500
  169 +
  170 +ActionController::RoutingError (No route matches "/facebox/closelabel.png"):
  171 +
  172 +
  173 +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)
  174 +
  175 +
  176 +Started GET "/stylesheets/images/plus.png" for 127.0.0.1 at 2011-07-08 17:57:26 -0500
  177 +
  178 +ActionController::RoutingError (No route matches "/stylesheets/images/plus.png"):
  179 +
  180 +
  181 +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)
  182 +
  183 +
  184 +Started GET "/images/loading.gif" for 127.0.0.1 at 2011-07-08 17:57:26 -0500
  185 +
  186 +ActionController::RoutingError (No route matches "/images/loading.gif"):
  187 +
  188 +
  189 +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)
  190 +
  191 +
  192 +Started GET "/images/closelabel.png" for 127.0.0.1 at 2011-07-08 17:57:26 -0500
  193 +
  194 +ActionController::RoutingError (No route matches "/images/closelabel.png"):
  195 +
  196 +
  197 +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)
  198 +
  199 +
  200 +Started GET "/" for 127.0.0.1 at 2011-07-08 17:57:31 -0500
  201 + Processing by IndexController#index as HTML
  202 +Rendered index/index.html.erb within layouts/application (2.1ms)
  203 +Completed 200 OK in 17ms (Views: 16.6ms | ActiveRecord: 0.0ms)
  204 +
  205 +
  206 +Started GET "/" for 127.0.0.1 at 2011-07-08 17:58:24 -0500
  207 + Processing by IndexController#index as HTML
  208 +Rendered index/index.html.erb within layouts/application (4.8ms)
  209 +Completed 200 OK in 30ms (Views: 29.1ms | ActiveRecord: 0.0ms)
  210 +
  211 +
  212 +Started GET "/stylesheets/images/plus.png" for 127.0.0.1 at 2011-07-08 17:58:24 -0500
  213 +
  214 +ActionController::RoutingError (No route matches "/stylesheets/images/plus.png"):
  215 +
  216 +
  217 +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)
  218 +
  219 +
  220 +Started GET "/facebox/closelabel.png" for 127.0.0.1 at 2011-07-08 17:58:24 -0500
  221 +
  222 +ActionController::RoutingError (No route matches "/facebox/closelabel.png"):
  223 +
  224 +
  225 +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)
  226 +
  227 +
  228 +Started GET "/images/loading.gif" for 127.0.0.1 at 2011-07-08 17:58:24 -0500
  229 +
  230 +ActionController::RoutingError (No route matches "/images/loading.gif"):
  231 +
  232 +
  233 +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)
  234 +
  235 +
  236 +Started GET "/images/closelabel.png" for 127.0.0.1 at 2011-07-08 17:58:25 -0500
  237 +
  238 +ActionController::RoutingError (No route matches "/images/closelabel.png"):
  239 +
  240 +
  241 +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)
  242 +
  243 +
  244 +Started GET "/" for 127.0.0.1 at 2011-07-08 17:59:08 -0500
  245 + Processing by IndexController#index as HTML
  246 +Rendered index/index.html.erb within layouts/application (2.4ms)
  247 +Completed 200 OK in 22ms (Views: 21.5ms | ActiveRecord: 0.0ms)
  248 +
  249 +
  250 +Started GET "/stylesheets/images/plus.png" for 127.0.0.1 at 2011-07-08 17:59:09 -0500
  251 +
  252 +ActionController::RoutingError (No route matches "/stylesheets/images/plus.png"):
  253 +
  254 +
  255 +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)
  256 +
  257 +
  258 +Started GET "/facebox/closelabel.png" for 127.0.0.1 at 2011-07-08 17:59:09 -0500
  259 +
  260 +ActionController::RoutingError (No route matches "/facebox/closelabel.png"):
  261 +
  262 +
  263 +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)
  264 +
  265 +
  266 +Started GET "/images/closelabel.png" for 127.0.0.1 at 2011-07-08 17:59:09 -0500
  267 +
  268 +ActionController::RoutingError (No route matches "/images/closelabel.png"):
  269 +
  270 +
  271 +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)
  272 +
  273 +
  274 +Started GET "/images/loading.gif" for 127.0.0.1 at 2011-07-08 17:59:09 -0500
  275 +
  276 +ActionController::RoutingError (No route matches "/images/loading.gif"):
  277 +
  278 +
  279 +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)
  280 +
  281 +
  282 +Started GET "/" for 127.0.0.1 at 2011-07-08 18:07:42 -0500
  283 + Processing by IndexController#index as HTML
  284 +Rendered index/index.html.erb within layouts/application (2.2ms)
  285 +Completed 200 OK in 19ms (Views: 17.9ms | ActiveRecord: 0.0ms)
  286 +
  287 +
  288 +Started GET "/stylesheets/images/plus.png" for 127.0.0.1 at 2011-07-08 18:07:43 -0500
  289 +
  290 +ActionController::RoutingError (No route matches "/stylesheets/images/plus.png"):
  291 +
  292 +
  293 +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)
  294 +
  295 +
  296 +Started GET "/facebox/closelabel.png" for 127.0.0.1 at 2011-07-08 18:07:43 -0500
  297 +
  298 +ActionController::RoutingError (No route matches "/facebox/closelabel.png"):
  299 +
  300 +
  301 +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)
  302 +
  303 +
  304 +Started GET "/images/loading.gif" for 127.0.0.1 at 2011-07-08 18:07:43 -0500
  305 +
  306 +ActionController::RoutingError (No route matches "/images/loading.gif"):
  307 +
  308 +
  309 +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)
  310 +
  311 +
  312 +Started GET "/images/closelabel.png" for 127.0.0.1 at 2011-07-08 18:07:43 -0500
  313 +
  314 +ActionController::RoutingError (No route matches "/images/closelabel.png"):
  315 +
  316 +
  317 +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)
  318 +
  319 +
  320 +Started GET "/" for 127.0.0.1 at 2011-07-08 18:08:38 -0500
  321 + Processing by IndexController#index as HTML
  322 +Rendered index/index.html.erb within layouts/application (1.3ms)
  323 +Completed 200 OK in 7ms (Views: 6.4ms | ActiveRecord: 0.0ms)
  324 +
  325 +
  326 +Started GET "/facebox/closelabel.png" for 127.0.0.1 at 2011-07-08 18:08:38 -0500
  327 +
  328 +ActionController::RoutingError (No route matches "/facebox/closelabel.png"):
  329 +
  330 +
  331 +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)
  332 +
  333 +
  334 +Started GET "/stylesheets/images/plus.png" for 127.0.0.1 at 2011-07-08 18:08:38 -0500
  335 +
  336 +ActionController::RoutingError (No route matches "/stylesheets/images/plus.png"):
  337 +
  338 +
  339 +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)
  340 +
  341 +
  342 +Started GET "/images/loading.gif" for 127.0.0.1 at 2011-07-08 18:08:38 -0500
  343 +
  344 +ActionController::RoutingError (No route matches "/images/loading.gif"):
  345 +
  346 +
  347 +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)
  348 +
  349 +
  350 +Started GET "/images/closelabel.png" for 127.0.0.1 at 2011-07-08 18:08:38 -0500
  351 +
  352 +ActionController::RoutingError (No route matches "/images/closelabel.png"):
  353 +
  354 +
  355 +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)
  356 +
  357 +
  358 +Started GET "/" for 127.0.0.1 at 2011-07-08 18:09:04 -0500
  359 + Processing by IndexController#index as HTML
  360 +Rendered index/index.html.erb within layouts/application (1.3ms)
  361 +Completed 200 OK in 18ms (Views: 17.0ms | ActiveRecord: 0.0ms)
  362 +
  363 +
  364 +Started GET "/facebox/closelabel.png" for 127.0.0.1 at 2011-07-08 18:09:05 -0500
  365 +
  366 +ActionController::RoutingError (No route matches "/facebox/closelabel.png"):
  367 +
  368 +
  369 +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)
  370 +
  371 +
  372 +Started GET "/images/closelabel.png" for 127.0.0.1 at 2011-07-08 18:09:05 -0500
  373 +
  374 +ActionController::RoutingError (No route matches "/images/closelabel.png"):
  375 +
  376 +
  377 +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)
  378 +
  379 +
  380 +Started GET "/images/loading.gif" for 127.0.0.1 at 2011-07-08 18:09:05 -0500
  381 +
  382 +ActionController::RoutingError (No route matches "/images/loading.gif"):
  383 +
  384 +
  385 +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)
  386 +
  387 +
  388 +Started GET "/stylesheets/images/plus.png" for 127.0.0.1 at 2011-07-08 18:09:05 -0500
  389 +
  390 +ActionController::RoutingError (No route matches "/stylesheets/images/plus.png"):
  391 +
  392 +
  393 +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)
  394 +
  395 +
  396 +Started GET "/" for 127.0.0.1 at 2011-07-08 18:09:30 -0500
  397 + Processing by IndexController#index as HTML
  398 +Rendered index/index.html.erb within layouts/application (1.3ms)
  399 +Completed 200 OK in 8ms (Views: 7.0ms | ActiveRecord: 0.0ms)
  400 +
  401 +
  402 +Started GET "/stylesheets/images/plus.png" for 127.0.0.1 at 2011-07-08 18:09:30 -0500
  403 +
  404 +ActionController::RoutingError (No route matches "/stylesheets/images/plus.png"):
  405 +
  406 +
  407 +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)
  408 +
  409 +
  410 +Started GET "/facebox/closelabel.png" for 127.0.0.1 at 2011-07-08 18:09:30 -0500
  411 +
  412 +ActionController::RoutingError (No route matches "/facebox/closelabel.png"):
  413 +
  414 +
  415 +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)
  416 +
  417 +
  418 +Started GET "/images/closelabel.png" for 127.0.0.1 at 2011-07-08 18:09:30 -0500
  419 +
  420 +ActionController::RoutingError (No route matches "/images/closelabel.png"):
  421 +
  422 +
  423 +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)
  424 +
  425 +
  426 +Started GET "/images/loading.gif" for 127.0.0.1 at 2011-07-08 18:09:30 -0500
  427 +
  428 +ActionController::RoutingError (No route matches "/images/loading.gif"):
  429 +
  430 +
  431 +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)
  432 +
  433 +
  434 +Started GET "/" for 127.0.0.1 at 2011-07-08 18:10:21 -0500
  435 + Processing by IndexController#index as HTML
  436 +Rendered index/index.html.erb within layouts/application (2.2ms)
  437 +Completed 200 OK in 15ms (Views: 14.5ms | ActiveRecord: 0.0ms)
  438 +
  439 +
  440 +Started GET "/images/loading.gif" for 127.0.0.1 at 2011-07-08 18:10:22 -0500
  441 +
  442 +ActionController::RoutingError (No route matches "/images/loading.gif"):
  443 +
  444 +
  445 +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)
  446 +
  447 +
  448 +Started GET "/stylesheets/images/plus.png" for 127.0.0.1 at 2011-07-08 18:10:22 -0500
  449 +
  450 +ActionController::RoutingError (No route matches "/stylesheets/images/plus.png"):
  451 +
  452 +
  453 +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)
  454 +
  455 +
  456 +Started GET "/facebox/closelabel.png" for 127.0.0.1 at 2011-07-08 18:10:22 -0500
  457 +
  458 +ActionController::RoutingError (No route matches "/facebox/closelabel.png"):
  459 +
  460 +
  461 +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)
  462 +
  463 +
  464 +Started GET "/images/closelabel.png" for 127.0.0.1 at 2011-07-08 18:10:22 -0500
  465 +
  466 +ActionController::RoutingError (No route matches "/images/closelabel.png"):
  467 +
  468 +
  469 +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)
  470 +
  471 +
  472 +Started GET "/tutorials/intro" for 127.0.0.1 at 2011-07-08 18:10:22 -0500
  473 +
  474 +ActionController::RoutingError (No route matches "/tutorials/intro"):
  475 +
  476 +
  477 +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)
  478 +
  479 +
  480 +Started GET "/" for 127.0.0.1 at 2011-07-08 18:11:20 -0500
  481 + Processing by IndexController#index as HTML
  482 +Rendered index/index.html.erb within layouts/application (2.0ms)
  483 +Completed 200 OK in 14ms (Views: 13.4ms | ActiveRecord: 0.0ms)
  484 +
  485 +
  486 +Started GET "/stylesheets/images/plus.png" for 127.0.0.1 at 2011-07-08 18:11:20 -0500
  487 +
  488 +ActionController::RoutingError (No route matches "/stylesheets/images/plus.png"):
  489 +
  490 +
  491 +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)
  492 +
  493 +
  494 +Started GET "/images/loading.gif" for 127.0.0.1 at 2011-07-08 18:11:20 -0500
  495 +
  496 +ActionController::RoutingError (No route matches "/images/loading.gif"):
  497 +
  498 +
  499 +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)
  500 +
  501 +
  502 +Started GET "/images/closelabel.png" for 127.0.0.1 at 2011-07-08 18:11:20 -0500
  503 +
  504 +ActionController::RoutingError (No route matches "/images/closelabel.png"):
  505 +
  506 +
  507 +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)
  508 +
  509 +
  510 +Started GET "/facebox/closelabel.png" for 127.0.0.1 at 2011-07-08 18:11:21 -0500
  511 +
  512 +ActionController::RoutingError (No route matches "/facebox/closelabel.png"):
  513 +
  514 +
  515 +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)
  516 +
  517 +
  518 +Started GET "/tutorials/intro" for 127.0.0.1 at 2011-07-08 18:11:21 -0500
  519 + Processing by TutorialsController#intro as
  520 +Rendered tutorials/intro.html.erb within layouts/application (2.2ms)
  521 +Completed 200 OK in 41ms (Views: 40.5ms | ActiveRecord: 0.0ms)
  522 +
  523 +
  524 +Started GET "/facebox/closelabel.png" for 127.0.0.1 at 2011-07-08 18:11:23 -0500
  525 +
  526 +ActionController::RoutingError (No route matches "/facebox/closelabel.png"):
  527 +
  528 +
  529 +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)
  530 +
  531 +
  532 +Started GET "/images/closelabel.png" for 127.0.0.1 at 2011-07-08 18:11:23 -0500
  533 +
  534 +ActionController::RoutingError (No route matches "/images/closelabel.png"):
  535 +
  536 +
  537 +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)
  538 +
  539 +
  540 +Started GET "/images/loading.gif" for 127.0.0.1 at 2011-07-08 18:11:23 -0500
  541 +
  542 +ActionController::RoutingError (No route matches "/images/loading.gif"):
  543 +
  544 +
  545 +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)
  546 +
  547 +
  548 +Started GET "/" for 127.0.0.1 at 2011-07-08 18:11:39 -0500
  549 + Processing by IndexController#index as HTML
  550 +Rendered index/index.html.erb within layouts/application (2.0ms)
  551 +Completed 200 OK in 13ms (Views: 12.0ms | ActiveRecord: 0.0ms)
  552 +
  553 +
  554 +Started GET "/stylesheets/images/plus.png" for 127.0.0.1 at 2011-07-08 18:11:40 -0500
  555 +
  556 +ActionController::RoutingError (No route matches "/stylesheets/images/plus.png"):
  557 +
  558 +
  559 +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)
  560 +
  561 +
  562 +Started GET "/images/loading.gif" for 127.0.0.1 at 2011-07-08 18:11:40 -0500
  563 +
  564 +ActionController::RoutingError (No route matches "/images/loading.gif"):
  565 +
  566 +
  567 +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)
  568 +
  569 +
  570 +Started GET "/images/closelabel.png" for 127.0.0.1 at 2011-07-08 18:11:40 -0500
  571 +
  572 +ActionController::RoutingError (No route matches "/images/closelabel.png"):
  573 +
  574 +
  575 +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)
  576 +
  577 +
  578 +Started GET "/facebox/closelabel.png" for 127.0.0.1 at 2011-07-08 18:11:40 -0500
  579 +
  580 +ActionController::RoutingError (No route matches "/facebox/closelabel.png"):
  581 +
  582 +
  583 +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)
  584 +
  585 +
  586 +Started GET "/tutorials/intro" for 127.0.0.1 at 2011-07-08 18:11:41 -0500
  587 + Processing by TutorialsController#intro as
  588 +Rendered tutorials/intro.html.erb within layouts/application (2.1ms)
  589 +Completed 200 OK in 47ms (Views: 45.8ms | ActiveRecord: 0.0ms)
  590 +
  591 +
  592 +Started GET "/facebox/closelabel.png" for 127.0.0.1 at 2011-07-08 18:11:42 -0500
  593 +
  594 +ActionController::RoutingError (No route matches "/facebox/closelabel.png"):
  595 +
  596 +
  597 +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)
  598 +
  599 +
  600 +Started GET "/images/loading.gif" for 127.0.0.1 at 2011-07-08 18:11:42 -0500
  601 +
  602 +ActionController::RoutingError (No route matches "/images/loading.gif"):
  603 +
  604 +
  605 +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)
  606 +
  607 +
  608 +Started GET "/images/closelabel.png" for 127.0.0.1 at 2011-07-08 18:11:42 -0500
  609 +
  610 +ActionController::RoutingError (No route matches "/images/closelabel.png"):
  611 +
  612 +
  613 +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)
  614 +
  615 +
  616 +Started GET "/" for 127.0.0.1 at 2011-07-08 18:13:34 -0500
  617 + Processing by IndexController#index as HTML
  618 +Rendered index/index.html.erb within layouts/application (2.2ms)
  619 +Completed 200 OK in 14ms (Views: 13.2ms | ActiveRecord: 0.0ms)
  620 +
  621 +
  622 +Started GET "/stylesheets/images/plus.png" for 127.0.0.1 at 2011-07-08 18:13:35 -0500
  623 +
  624 +ActionController::RoutingError (No route matches "/stylesheets/images/plus.png"):
  625 +
  626 +
  627 +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)
  628 +
  629 +
  630 +Started GET "/images/closelabel.png" for 127.0.0.1 at 2011-07-08 18:13:35 -0500
  631 +
  632 +ActionController::RoutingError (No route matches "/images/closelabel.png"):
  633 +
  634 +
  635 +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)
  636 +
  637 +
  638 +Started GET "/facebox/closelabel.png" for 127.0.0.1 at 2011-07-08 18:13:35 -0500
  639 +
  640 +ActionController::RoutingError (No route matches "/facebox/closelabel.png"):
  641 +
  642 +
  643 +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)
  644 +
  645 +
  646 +Started GET "/images/loading.gif" for 127.0.0.1 at 2011-07-08 18:13:35 -0500
  647 +
  648 +ActionController::RoutingError (No route matches "/images/loading.gif"):
  649 +
  650 +
  651 +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)
  652 +
  653 +
  654 +Started GET "/tutorials/intro" for 127.0.0.1 at 2011-07-08 18:13:36 -0500
  655 + Processing by TutorialsController#intro as
  656 +Rendered tutorials/intro.html.erb within layouts/blank (14.9ms)
  657 +Completed 200 OK in 51ms (Views: 50.6ms | ActiveRecord: 0.0ms)
  658 +
  659 +
  660 +Started GET "/tryruby/run?cmd=%21INIT%21IRB%21" for 127.0.0.1 at 2011-07-08 18:13:41 -0500
  661 +
  662 +ActionController::RoutingError (No route matches "/tryruby/run"):
  663 +
  664 +
  665 +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)
  666 +
  667 +
  668 +Started GET "/tryruby/run?cmd=1" for 127.0.0.1 at 2011-07-08 18:13:42 -0500
  669 +
  670 +ActionController::RoutingError (No route matches "/tryruby/run"):
  671 +
  672 +
  673 +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)
0  tryruby/public/favicon.ico → log/production.log
File renamed without changes
0  tryruby/public/stylesheets/.gitkeep → log/server.log
File renamed without changes
0  tryruby/vendor/plugins/.gitkeep → log/test.log
File renamed without changes
0  tryruby/public/404.html → public/404.html
File renamed without changes
0  tryruby/public/422.html → public/422.html
File renamed without changes
0  tryruby/public/500.html → public/500.html
File renamed without changes
0  public/favicon.ico
No changes.
0  tryruby/public/images/background.png → public/images/background.png
File renamed without changes
0  tryruby/public/images/footer.png → public/images/footer.png
File renamed without changes
0  tryruby/public/images/header.png → public/images/header.png
File renamed without changes
0  tryruby/public/images/index.html → public/images/index.html
File renamed without changes
0  tryruby/public/images/rails.png → public/images/rails.png
File renamed without changes
0  tryruby/public/images/tile.png → public/images/tile.png
File renamed without changes
0  tryruby/public/javascripts/application.js → public/javascripts/application.js
File renamed without changes
0  tryruby/public/javascripts/console.js → public/javascripts/console.js
File renamed without changes
0  tryruby/public/javascripts/controls.js → public/javascripts/controls.js
File renamed without changes
0  tryruby/public/javascripts/dragdrop.js → public/javascripts/dragdrop.js
File renamed without changes
0  tryruby/public/javascripts/effects.js → public/javascripts/effects.js
File renamed without changes
0  tryruby/public/javascripts/facebox.js → public/javascripts/facebox.js
File renamed without changes
0  tryruby/public/javascripts/index.html → public/javascripts/index.html
File renamed without changes
0  tryruby/public/javascripts/irb.js → public/javascripts/irb.js
File renamed without changes
0  tryruby/public/javascripts/jQuery.irb.js → public/javascripts/jQuery.irb.js
File renamed without changes
0  tryruby/public/javascripts/jquery-1.3.2.min.js → public/javascripts/jquery-1.3.2.min.js
File renamed without changes
0  tryruby/public/javascripts/jquery-1.4.2.min.js → public/javascripts/jquery-1.4.2.min.js
File renamed without changes
0  tryruby/public/javascripts/jquery.console.js → public/javascripts/jquery.console.js
File renamed without changes
0  tryruby/public/javascripts/jquery.console.min.js → public/javascripts/jquery.console.min.js
File renamed without changes
0  tryruby/public/javascripts/jquery.js → public/javascripts/jquery.js
File renamed without changes
0  tryruby/public/javascripts/json2.js → public/javascripts/json2.js
File renamed without changes
0  tryruby/public/javascripts/lib.min.js → public/javascripts/lib.min.js
File renamed without changes
0  tryruby/public/javascripts/mouseapp_2.js → public/javascripts/mouseapp_2.js
File renamed without changes
0  tryruby/public/javascripts/mouseirb_2.js → public/javascripts/mouseirb_2.js
File renamed without changes
0  tryruby/public/javascripts/prototype.js → public/javascripts/prototype.js
File renamed without changes
0  tryruby/public/javascripts/rails.js → public/javascripts/rails.js
File renamed without changes
0  tryruby/public/javascripts/raphael-min.js → public/javascripts/raphael-min.js
File renamed without changes
0  tryruby/public/robots.txt → public/robots.txt
File renamed without changes
0  public/stylesheets/.gitkeep
No changes.
0  tryruby/public/stylesheets/facebox.css → public/stylesheets/facebox.css
File renamed without changes
0  tryruby/public/stylesheets/reset.css → public/stylesheets/reset.css
File renamed without changes
0  tryruby/public/stylesheets/scaffold.css → public/stylesheets/scaffold.css
File renamed without changes
0  tryruby/public/stylesheets/site.css → public/stylesheets/site.css
File renamed without changes
0  tryruby/script/rails → script/rails
File renamed without changes
0  tryruby/test/functional/index_controller_test.rb → test/functional/index_controller_test.rb
File renamed without changes
0  tryruby/test/functional/tutorials_controller_test.rb → test/functional/tutorials_controller_test.rb
File renamed without changes
0  tryruby/test/performance/browsing_test.rb → test/performance/browsing_test.rb
File renamed without changes
0  tryruby/test/test_helper.rb → test/test_helper.rb
File renamed without changes
0  tryruby/test/unit/helpers/index_helper_test.rb → test/unit/helpers/index_helper_test.rb
File renamed without changes
0  tryruby/test/unit/helpers/tutorials_helper_test.rb → test/unit/helpers/tutorials_helper_test.rb
File renamed without changes
4 tryruby/.gitignore
... ... @@ -1,4 +0,0 @@
1   -.bundle
2   -db/*.sqlite3
3   -log/*.log
4   -tmp/
256 tryruby/README
... ... @@ -1,256 +0,0 @@
1   -== Welcome to Rails
2   -
3   -Rails is a web-application framework that includes everything needed to create
4   -database-backed web applications according to the Model-View-Control pattern.
5   -
6   -This pattern splits the view (also called the presentation) into "dumb"
7   -templates that are primarily responsible for inserting pre-built data in between
8   -HTML tags. The model contains the "smart" domain objects (such as Account,
9   -Product, Person, Post) that holds all the business logic and knows how to
10   -persist themselves to a database. The controller handles the incoming requests
11   -(such as Save New Account, Update Product, Show Post) by manipulating the model
12   -and directing data to the view.
13   -
14   -In Rails, the model is handled by what's called an object-relational mapping
15   -layer entitled Active Record. This layer allows you to present the data from
16   -database rows as objects and embellish these data objects with business logic
17   -methods. You can read more about Active Record in
18   -link:files/vendor/rails/activerecord/README.html.
19   -
20   -The controller and view are handled by the Action Pack, which handles both
21   -layers by its two parts: Action View and Action Controller. These two layers
22   -are bundled in a single package due to their heavy interdependence. This is
23   -unlike the relationship between the Active Record and Action Pack that is much
24   -more separate. Each of these packages can be used independently outside of
25   -Rails. You can read more about Action Pack in
26   -link:files/vendor/rails/actionpack/README.html.
27   -
28   -
29   -== Getting Started
30   -
31   -1. At the command prompt, create a new Rails application:
32   - <tt>rails new myapp</tt> (where <tt>myapp</tt> is the application name)
33   -
34   -2. Change directory to <tt>myapp</tt> and start the web server:
35   - <tt>cd myapp; rails server</tt> (run with --help for options)
36   -
37   -3. Go to http://localhost:3000/ and you'll see:
38   - "Welcome aboard: You're riding Ruby on Rails!"
39   -
40   -4. Follow the guidelines to start developing your application. You can find
41   -the following resources handy:
42   -
43   -* The Getting Started Guide: http://guides.rubyonrails.org/getting_started.html
44