gettext_rails 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/COPYING +55 -0
- data/ChangeLog +4 -0
- data/README.rdoc +173 -0
- data/Rakefile +113 -0
- data/data/locale/bg/LC_MESSAGES/gettext_rails.mo +0 -0
- data/data/locale/bs/LC_MESSAGES/gettext_rails.mo +0 -0
- data/data/locale/ca/LC_MESSAGES/gettext_rails.mo +0 -0
- data/data/locale/cs/LC_MESSAGES/gettext_rails.mo +0 -0
- data/data/locale/de/LC_MESSAGES/gettext_rails.mo +0 -0
- data/data/locale/el/LC_MESSAGES/gettext_rails.mo +0 -0
- data/data/locale/eo/LC_MESSAGES/gettext_rails.mo +0 -0
- data/data/locale/es/LC_MESSAGES/gettext_rails.mo +0 -0
- data/data/locale/et/LC_MESSAGES/gettext_rails.mo +0 -0
- data/data/locale/fr/LC_MESSAGES/gettext_rails.mo +0 -0
- data/data/locale/hr/LC_MESSAGES/gettext_rails.mo +0 -0
- data/data/locale/hu/LC_MESSAGES/gettext_rails.mo +0 -0
- data/data/locale/it/LC_MESSAGES/gettext_rails.mo +0 -0
- data/data/locale/ja/LC_MESSAGES/gettext_rails.mo +0 -0
- data/data/locale/ko/LC_MESSAGES/gettext_rails.mo +0 -0
- data/data/locale/lv/LC_MESSAGES/gettext_rails.mo +0 -0
- data/data/locale/nb/LC_MESSAGES/gettext_rails.mo +0 -0
- data/data/locale/nl/LC_MESSAGES/gettext_rails.mo +0 -0
- data/data/locale/pt_BR/LC_MESSAGES/gettext_rails.mo +0 -0
- data/data/locale/ru/LC_MESSAGES/gettext_rails.mo +0 -0
- data/data/locale/sr/LC_MESSAGES/gettext_rails.mo +0 -0
- data/data/locale/ua/LC_MESSAGES/gettext_rails.mo +0 -0
- data/data/locale/vi/LC_MESSAGES/gettext_rails.mo +0 -0
- data/data/locale/zh/LC_MESSAGES/gettext_rails.mo +0 -0
- data/data/locale/zh_TW/LC_MESSAGES/gettext_rails.mo +0 -0
- data/lib/gettext_rails.rb +33 -0
- data/lib/gettext_rails/action_controller.rb +104 -0
- data/lib/gettext_rails/action_mailer.rb +45 -0
- data/lib/gettext_rails/action_view.rb +16 -0
- data/lib/gettext_rails/action_view/active_record_helper.rb +109 -0
- data/lib/gettext_rails/action_view/date_helper.rb +48 -0
- data/lib/gettext_rails/action_view/form_builder.rb +26 -0
- data/lib/gettext_rails/tools.rb +22 -0
- data/lib/gettext_rails/version.rb +14 -0
- data/po/bg/gettext_rails.po +89 -0
- data/po/bs/gettext_rails.po +98 -0
- data/po/ca/gettext_rails.po +90 -0
- data/po/cs/gettext_rails.po +102 -0
- data/po/de/gettext_rails.po +94 -0
- data/po/el/gettext_rails.po +89 -0
- data/po/eo/gettext_rails.po +90 -0
- data/po/es/gettext_rails.po +90 -0
- data/po/et/gettext_rails.po +90 -0
- data/po/fr/gettext_rails.po +94 -0
- data/po/gettext_rails.pot +87 -0
- data/po/hr/gettext_rails.po +99 -0
- data/po/hu/gettext_rails.po +90 -0
- data/po/it/gettext_rails.po +89 -0
- data/po/ja/gettext_rails.po +90 -0
- data/po/ko/gettext_rails.po +87 -0
- data/po/lv/gettext_rails.po +95 -0
- data/po/nb/gettext_rails.po +91 -0
- data/po/nl/gettext_rails.po +91 -0
- data/po/pt_BR/gettext_rails.po +91 -0
- data/po/ru/gettext_rails.po +98 -0
- data/po/sr/gettext_rails.po +98 -0
- data/po/test.rb +11 -0
- data/po/ua/gettext_rails.po +104 -0
- data/po/vi/gettext_rails.po +90 -0
- data/po/zh/gettext_rails.po +86 -0
- data/po/zh_TW/gettext_rails.po +86 -0
- data/replace.rb +21 -0
- data/sample/README +80 -0
- data/sample/Rakefile +11 -0
- data/sample/app/controllers/application_controller.rb +37 -0
- data/sample/app/controllers/articles_controller.rb +97 -0
- data/sample/app/helpers/application_helper.rb +3 -0
- data/sample/app/helpers/articles_helper.rb +60 -0
- data/sample/app/models/article.rb +16 -0
- data/sample/app/views/articles/edit.html.erb +22 -0
- data/sample/app/views/articles/index.html.erb +18 -0
- data/sample/app/views/articles/new.html.erb +20 -0
- data/sample/app/views/articles/show.html.erb +7 -0
- data/sample/app/views/layouts/articles.html.erb +27 -0
- data/sample/config/boot.rb +109 -0
- data/sample/config/database.yml +22 -0
- data/sample/config/environment.rb +45 -0
- data/sample/config/environments/development.rb +17 -0
- data/sample/config/environments/production.rb +27 -0
- data/sample/config/environments/test.rb +27 -0
- data/sample/config/initializers/backtrace_silencers.rb +7 -0
- data/sample/config/initializers/inflections.rb +10 -0
- data/sample/config/initializers/mime_types.rb +5 -0
- data/sample/config/initializers/new_rails_defaults.rb +19 -0
- data/sample/config/initializers/session_store.rb +15 -0
- data/sample/config/routes.rb +45 -0
- data/sample/db/development.sqlite3 +0 -0
- data/sample/db/production.sqlite3 +0 -0
- data/sample/db/schema.rb +19 -0
- data/sample/db/test.sqlite3 +0 -0
- data/sample/doc/README_FOR_APP +2 -0
- data/sample/lib/tasks/gettext.rake +13 -0
- data/sample/locale/bg/LC_MESSAGES/blog.mo +0 -0
- data/sample/locale/bs/LC_MESSAGES/blog.mo +0 -0
- data/sample/locale/ca/LC_MESSAGES/blog.mo +0 -0
- data/sample/locale/cs/LC_MESSAGES/blog.mo +0 -0
- data/sample/locale/de/LC_MESSAGES/blog.mo +0 -0
- data/sample/locale/el/LC_MESSAGES/blog.mo +0 -0
- data/sample/locale/en/LC_MESSAGES/blog.mo +0 -0
- data/sample/locale/eo/LC_MESSAGES/blog.mo +0 -0
- data/sample/locale/es/LC_MESSAGES/blog.mo +0 -0
- data/sample/locale/fr/LC_MESSAGES/blog.mo +0 -0
- data/sample/locale/hr/LC_MESSAGES/blog.mo +0 -0
- data/sample/locale/hu/LC_MESSAGES/blog.mo +0 -0
- data/sample/locale/it/LC_MESSAGES/blog.mo +0 -0
- data/sample/locale/ja/LC_MESSAGES/blog.mo +0 -0
- data/sample/locale/ko/LC_MESSAGES/blog.mo +0 -0
- data/sample/locale/lv/LC_MESSAGES/blog.mo +0 -0
- data/sample/locale/nb/LC_MESSAGES/blog.mo +0 -0
- data/sample/locale/nl/LC_MESSAGES/blog.mo +0 -0
- data/sample/locale/pt_BR/LC_MESSAGES/blog.mo +0 -0
- data/sample/locale/ru/LC_MESSAGES/blog.mo +0 -0
- data/sample/locale/sr/LC_MESSAGES/blog.mo +0 -0
- data/sample/locale/ua/LC_MESSAGES/blog.mo +0 -0
- data/sample/locale/vi/LC_MESSAGES/blog.mo +0 -0
- data/sample/locale/zh/LC_MESSAGES/blog.mo +0 -0
- data/sample/locale/zh_TW/LC_MESSAGES/blog.mo +0 -0
- data/sample/log/development.log +635 -0
- data/sample/log/production.log +79475 -0
- data/sample/log/test.log +1592 -0
- data/sample/po/bg/blog.po +101 -0
- data/sample/po/blog.pot +102 -0
- data/sample/po/bs/blog.po +103 -0
- data/sample/po/ca/blog.po +101 -0
- data/sample/po/cs/blog.po +104 -0
- data/sample/po/de/blog.po +104 -0
- data/sample/po/el/blog.po +102 -0
- data/sample/po/en/blog.po +103 -0
- data/sample/po/eo/blog.po +102 -0
- data/sample/po/eo/tmp.patch +21 -0
- data/sample/po/es/blog.po +101 -0
- data/sample/po/fr/blog.po +102 -0
- data/sample/po/hr/blog.po +102 -0
- data/sample/po/hu/blog.po +101 -0
- data/sample/po/it/blog.po +102 -0
- data/sample/po/ja/blog.po +101 -0
- data/sample/po/ko/blog.po +102 -0
- data/sample/po/lv/blog.po +103 -0
- data/sample/po/nb/blog.po +102 -0
- data/sample/po/nl/blog.po +102 -0
- data/sample/po/pt_BR/blog.po +102 -0
- data/sample/po/ru/blog.po +102 -0
- data/sample/po/sr/blog.po +103 -0
- data/sample/po/ua/blog.po +105 -0
- data/sample/po/vi/blog.po +102 -0
- data/sample/po/zh/blog.po +101 -0
- data/sample/po/zh_TW/blog.po +103 -0
- data/sample/public/404.html +30 -0
- data/sample/public/422.html +30 -0
- data/sample/public/500.html +33 -0
- data/sample/public/favicon.ico +0 -0
- data/sample/public/images/rails.png +0 -0
- data/sample/public/index.html +275 -0
- data/sample/public/javascripts/application.js +2 -0
- data/sample/public/javascripts/controls.js +963 -0
- data/sample/public/javascripts/dragdrop.js +973 -0
- data/sample/public/javascripts/effects.js +1128 -0
- data/sample/public/javascripts/prototype.js +4320 -0
- data/sample/public/robots.txt +5 -0
- data/sample/public/stylesheets/blog.css +136 -0
- data/sample/public/stylesheets/scaffold.css +54 -0
- data/sample/script/about +4 -0
- data/sample/script/console +3 -0
- data/sample/script/dbconsole +3 -0
- data/sample/script/destroy +3 -0
- data/sample/script/generate +3 -0
- data/sample/script/performance/benchmarker +3 -0
- data/sample/script/performance/profiler +3 -0
- data/sample/script/plugin +3 -0
- data/sample/script/runner +3 -0
- data/sample/script/server +3 -0
- data/sample/test/fixtures/articles.yml +11 -0
- data/sample/test/functional/articles_controller_test.rb +45 -0
- data/sample/test/performance/browsing_test.rb +9 -0
- data/sample/test/result/en/list.html +69 -0
- data/sample/test/test_helper.rb +38 -0
- data/sample/test/unit/article_test.rb +8 -0
- data/sample/test/unit/helpers/articles_helper_test.rb +4 -0
- data/sample/vendor/plugins/lang_helper/README +17 -0
- data/sample/vendor/plugins/lang_helper/Rakefile +17 -0
- data/sample/vendor/plugins/lang_helper/init.rb +21 -0
- data/sample/vendor/plugins/lang_helper/lib/lang_helper.rb +32 -0
- data/sample/vendor/plugins/lang_helper/locale/bg/LC_MESSAGES/lang_helper.mo +0 -0
- data/sample/vendor/plugins/lang_helper/locale/bs/LC_MESSAGES/lang_helper.mo +0 -0
- data/sample/vendor/plugins/lang_helper/locale/ca/LC_MESSAGES/lang_helper.mo +0 -0
- data/sample/vendor/plugins/lang_helper/locale/cs/LC_MESSAGES/lang_helper.mo +0 -0
- data/sample/vendor/plugins/lang_helper/locale/de/LC_MESSAGES/lang_helper.mo +0 -0
- data/sample/vendor/plugins/lang_helper/locale/el/LC_MESSAGES/lang_helper.mo +0 -0
- data/sample/vendor/plugins/lang_helper/locale/eo/LC_MESSAGES/lang_helper.mo +0 -0
- data/sample/vendor/plugins/lang_helper/locale/es/LC_MESSAGES/lang_helper.mo +0 -0
- data/sample/vendor/plugins/lang_helper/locale/fr/LC_MESSAGES/lang_helper.mo +0 -0
- data/sample/vendor/plugins/lang_helper/locale/hr/LC_MESSAGES/lang_helper.mo +0 -0
- data/sample/vendor/plugins/lang_helper/locale/hu/LC_MESSAGES/lang_helper.mo +0 -0
- data/sample/vendor/plugins/lang_helper/locale/it/LC_MESSAGES/lang_helper.mo +0 -0
- data/sample/vendor/plugins/lang_helper/locale/ja/LC_MESSAGES/lang_helper.mo +0 -0
- data/sample/vendor/plugins/lang_helper/locale/ko/LC_MESSAGES/lang_helper.mo +0 -0
- data/sample/vendor/plugins/lang_helper/locale/lv/LC_MESSAGES/lang_helper.mo +0 -0
- data/sample/vendor/plugins/lang_helper/locale/nb/LC_MESSAGES/lang_helper.mo +0 -0
- data/sample/vendor/plugins/lang_helper/locale/nl/LC_MESSAGES/lang_helper.mo +0 -0
- data/sample/vendor/plugins/lang_helper/locale/pt_BR/LC_MESSAGES/lang_helper.mo +0 -0
- data/sample/vendor/plugins/lang_helper/locale/ru/LC_MESSAGES/lang_helper.mo +0 -0
- data/sample/vendor/plugins/lang_helper/locale/sr/LC_MESSAGES/lang_helper.mo +0 -0
- data/sample/vendor/plugins/lang_helper/locale/ua/LC_MESSAGES/lang_helper.mo +0 -0
- data/sample/vendor/plugins/lang_helper/locale/vi/LC_MESSAGES/lang_helper.mo +0 -0
- data/sample/vendor/plugins/lang_helper/locale/zh/LC_MESSAGES/lang_helper.mo +0 -0
- data/sample/vendor/plugins/lang_helper/locale/zh_TW/LC_MESSAGES/lang_helper.mo +0 -0
- data/sample/vendor/plugins/lang_helper/po/bg/lang_helper.po +27 -0
- data/sample/vendor/plugins/lang_helper/po/bs/lang_helper.po +27 -0
- data/sample/vendor/plugins/lang_helper/po/ca/lang_helper.po +27 -0
- data/sample/vendor/plugins/lang_helper/po/cs/lang_helper.po +29 -0
- data/sample/vendor/plugins/lang_helper/po/de/lang_helper.po +29 -0
- data/sample/vendor/plugins/lang_helper/po/el/lang_helper.po +27 -0
- data/sample/vendor/plugins/lang_helper/po/eo/lang_helper.po +28 -0
- data/sample/vendor/plugins/lang_helper/po/es/lang_helper.po +28 -0
- data/sample/vendor/plugins/lang_helper/po/fr/lang_helper.po +27 -0
- data/sample/vendor/plugins/lang_helper/po/hr/lang_helper.po +27 -0
- data/sample/vendor/plugins/lang_helper/po/hu/lang_helper.po +27 -0
- data/sample/vendor/plugins/lang_helper/po/it/lang_helper.po +27 -0
- data/sample/vendor/plugins/lang_helper/po/ja/lang_helper.po +28 -0
- data/sample/vendor/plugins/lang_helper/po/ko/lang_helper.po +27 -0
- data/sample/vendor/plugins/lang_helper/po/lang_helper.pot +28 -0
- data/sample/vendor/plugins/lang_helper/po/lv/lang_helper.po +28 -0
- data/sample/vendor/plugins/lang_helper/po/nb/lang_helper.po +29 -0
- data/sample/vendor/plugins/lang_helper/po/nl/lang_helper.po +28 -0
- data/sample/vendor/plugins/lang_helper/po/pt_BR/lang_helper.po +27 -0
- data/sample/vendor/plugins/lang_helper/po/ru/lang_helper.po +25 -0
- data/sample/vendor/plugins/lang_helper/po/sr/lang_helper.po +28 -0
- data/sample/vendor/plugins/lang_helper/po/ua/lang_helper.po +30 -0
- data/sample/vendor/plugins/lang_helper/po/vi/lang_helper.po +27 -0
- data/sample/vendor/plugins/lang_helper/po/zh/lang_helper.po +27 -0
- data/sample/vendor/plugins/lang_helper/po/zh_TW/lang_helper.po +29 -0
- data/test/README +6 -0
- data/test/Rakefile +27 -0
- data/test/app/controllers/application_controller.rb +18 -0
- data/test/app/controllers/articles_controller.rb +114 -0
- data/test/app/controllers/mailers_controller.rb +18 -0
- data/test/app/controllers/users_controller.rb +19 -0
- data/test/app/helpers/application_helper.rb +3 -0
- data/test/app/helpers/articles_helper.rb +2 -0
- data/test/app/models/article.rb +9 -0
- data/test/app/models/human_resources/resume.rb +3 -0
- data/test/app/models/mailer.rb +38 -0
- data/test/app/models/user.rb +4 -0
- data/test/app/models/user_observer.rb +7 -0
- data/test/app/views/articles/_form.html.erb +13 -0
- data/test/app/views/articles/_form_fr.html.erb +1 -0
- data/test/app/views/articles/active_form_error.html.erb +1 -0
- data/test/app/views/articles/change_title_error_messages_for.html.erb +15 -0
- data/test/app/views/articles/edit.html.erb +9 -0
- data/test/app/views/articles/list.html.erb +25 -0
- data/test/app/views/articles/list_fr.html.erb +1 -0
- data/test/app/views/articles/multi_error_messages_for.html.erb +19 -0
- data/test/app/views/articles/new.html.erb +8 -0
- data/test/app/views/articles/show.html.erb +9 -0
- data/test/app/views/layouts/application.html.erb +16 -0
- data/test/app/views/layouts/mailers.html.erb +20 -0
- data/test/app/views/layouts/users.html.erb +14 -0
- data/test/app/views/mailer/coverpage.html.erb +6 -0
- data/test/app/views/mailer/coverpage_fr.html.erb +6 -0
- data/test/app/views/mailer/index.html.erb +1 -0
- data/test/app/views/mailer/singlepart.html.erb +3 -0
- data/test/app/views/mailer/singlepart_fr.html.erb +3 -0
- data/test/app/views/users/custom_error_message.html.erb +13 -0
- data/test/app/views/users/custom_error_message_fr.html.erb +13 -0
- data/test/app/views/users/distance_of_time_in_words.html.erb +18 -0
- data/test/config/boot.rb +109 -0
- data/test/config/database.yml +22 -0
- data/test/config/environment.rb +45 -0
- data/test/config/environments/development.rb +17 -0
- data/test/config/environments/production.rb +27 -0
- data/test/config/environments/test.rb +27 -0
- data/test/config/initializers/backtrace_silencers.rb +7 -0
- data/test/config/initializers/inflections.rb +10 -0
- data/test/config/initializers/mime_types.rb +5 -0
- data/test/config/initializers/new_rails_defaults.rb +19 -0
- data/test/config/initializers/session_store.rb +15 -0
- data/test/config/routes.rb +13 -0
- data/test/db/development.sqlite3 +0 -0
- data/test/db/schema.rb +45 -0
- data/test/db/test.sqlite3 +0 -0
- data/test/doc/README_FOR_APP +2 -0
- data/test/locale/ja/LC_MESSAGES/rails_test.mo +0 -0
- data/test/log/development.log +1284 -0
- data/test/log/test.log +5595 -0
- data/test/po/ja/rails_test.po +206 -0
- data/test/po/rails_test.pot +206 -0
- data/test/public/404.html +30 -0
- data/test/public/422.html +30 -0
- data/test/public/500.html +33 -0
- data/test/public/favicon.ico +0 -0
- data/test/public/images/rails.png +0 -0
- data/test/public/index.html +28 -0
- data/test/public/javascripts/application.js +2 -0
- data/test/public/javascripts/controls.js +963 -0
- data/test/public/javascripts/dragdrop.js +973 -0
- data/test/public/javascripts/effects.js +1128 -0
- data/test/public/javascripts/prototype.js +4320 -0
- data/test/public/robots.txt +5 -0
- data/test/public/stylesheets/blog.css +136 -0
- data/test/public/stylesheets/scaffold.css +54 -0
- data/test/script/about +4 -0
- data/test/script/console +3 -0
- data/test/script/dbconsole +3 -0
- data/test/script/destroy +3 -0
- data/test/script/generate +3 -0
- data/test/script/performance/benchmarker +3 -0
- data/test/script/performance/profiler +3 -0
- data/test/script/plugin +3 -0
- data/test/script/runner +3 -0
- data/test/script/server +3 -0
- data/test/test/fixtures/articles.yml +13 -0
- data/test/test/functional/articles_controller_test.rb +97 -0
- data/test/test/functional/mailers_controller_test.rb +54 -0
- data/test/test/functional/users_controller_test.rb +47 -0
- data/test/test/performance/browsing_test.rb +9 -0
- data/test/test/result/en/change_title_error_messages_for.html +89 -0
- data/test/test/result/en/create_error.html +97 -0
- data/test/test/result/en/custom_error_message.html +84 -0
- data/test/test/result/en/custom_error_message_with_plural.html +84 -0
- data/test/test/result/en/distance_of_time_in_words.html +32 -0
- data/test/test/result/en/list.html +62 -0
- data/test/test/result/en/multi_error_messages_for.html +155 -0
- data/test/test/result/en/multipart.html +175 -0
- data/test/test/result/en/new.html +97 -0
- data/test/test/result/en/show.html +33 -0
- data/test/test/result/en/singlepart.html +10 -0
- data/test/test/result/fr/custom_error_message.html +84 -0
- data/test/test/result/fr/custom_error_message_with_plural.html +84 -0
- data/test/test/result/fr/distance_of_time_in_words.html +32 -0
- data/test/test/result/fr/list.html +17 -0
- data/test/test/result/fr/multipart.html +175 -0
- data/test/test/result/fr/new.html +25 -0
- data/test/test/result/fr/singlepart.html +10 -0
- data/test/test/result/ja/change_title_error_messages_for.html +89 -0
- data/test/test/result/ja/create_error.html +97 -0
- data/test/test/result/ja/custom_error_message.html +84 -0
- data/test/test/result/ja/custom_error_message_with_plural.html +84 -0
- data/test/test/result/ja/distance_of_time_in_words.html +32 -0
- data/test/test/result/ja/list.html +62 -0
- data/test/test/result/ja/multi_error_messages_for.html +155 -0
- data/test/test/result/ja/multipart.html +175 -0
- data/test/test/result/ja/new.html +97 -0
- data/test/test/result/ja/show.html +33 -0
- data/test/test/result/ja/singlepart.html +10 -0
- data/test/test/test_helper.rb +83 -0
- data/test/test/unit/article_test.rb +8 -0
- data/test/test/unit/helpers/articles_helper_test.rb +4 -0
- metadata +754 -0
@@ -0,0 +1,22 @@
|
|
1
|
+
# SQLite version 3.x
|
2
|
+
# gem install sqlite3-ruby (not necessary on OS X Leopard)
|
3
|
+
development:
|
4
|
+
adapter: sqlite3
|
5
|
+
database: db/development.sqlite3
|
6
|
+
pool: 5
|
7
|
+
timeout: 5000
|
8
|
+
|
9
|
+
# Warning: The database defined as "test" will be erased and
|
10
|
+
# re-generated from your development database when you run "rake".
|
11
|
+
# Do not set this db to the same as development or production.
|
12
|
+
test:
|
13
|
+
adapter: sqlite3
|
14
|
+
database: db/test.sqlite3
|
15
|
+
pool: 5
|
16
|
+
timeout: 5000
|
17
|
+
|
18
|
+
production:
|
19
|
+
adapter: sqlite3
|
20
|
+
database: db/production.sqlite3
|
21
|
+
pool: 5
|
22
|
+
timeout: 5000
|
@@ -0,0 +1,45 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file
|
2
|
+
|
3
|
+
# Specifies gem version of Rails to use when vendor/rails is not present
|
4
|
+
RAILS_GEM_VERSION = '2.3.2' unless defined? RAILS_GEM_VERSION
|
5
|
+
|
6
|
+
# Bootstrap the Rails environment, frameworks, and default configuration
|
7
|
+
require File.join(File.dirname(__FILE__), 'boot')
|
8
|
+
|
9
|
+
Rails::Initializer.run do |config|
|
10
|
+
# Settings in config/environments/* take precedence over those specified here.
|
11
|
+
# Application configuration should go into files in config/initializers
|
12
|
+
# -- all .rb files in that directory are automatically loaded.
|
13
|
+
|
14
|
+
# Add additional load paths for your own custom dirs
|
15
|
+
# config.load_paths += %W( #{RAILS_ROOT}/extras )
|
16
|
+
|
17
|
+
# Specify gems that this application depends on and have them installed with rake gems:install
|
18
|
+
# config.gem "bj"
|
19
|
+
# config.gem "hpricot", :version => '0.6', :source => "http://code.whytheluckystiff.net"
|
20
|
+
# config.gem "sqlite3-ruby", :lib => "sqlite3"
|
21
|
+
# config.gem "aws-s3", :lib => "aws/s3"
|
22
|
+
|
23
|
+
# Only load the plugins named here, in the order given (default is alphabetical).
|
24
|
+
# :all can be used as a placeholder for all plugins not explicitly named
|
25
|
+
# config.plugins = [ :exception_notification, :ssl_requirement, :all ]
|
26
|
+
|
27
|
+
# Skip frameworks you're not going to use. To use Rails without a database,
|
28
|
+
# you must remove the Active Record framework.
|
29
|
+
# config.frameworks -= [ :active_record, :active_resource, :action_mailer ]
|
30
|
+
|
31
|
+
# Activate observers that should always be running
|
32
|
+
# config.active_record.observers = :cacher, :garbage_collector, :forum_observer
|
33
|
+
|
34
|
+
# Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
|
35
|
+
# Run "rake -D time" for a list of tasks for finding time zone names.
|
36
|
+
config.time_zone = 'UTC'
|
37
|
+
|
38
|
+
# The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
|
39
|
+
# config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}')]
|
40
|
+
# config.i18n.default_locale = :de
|
41
|
+
config.gem "locale_rails"
|
42
|
+
config.gem "gettext_activerecord"
|
43
|
+
config.gem "gettext_rails"
|
44
|
+
end
|
45
|
+
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# Settings specified here will take precedence over those in config/environment.rb
|
2
|
+
|
3
|
+
# In the development environment your application's code is reloaded on
|
4
|
+
# every request. This slows down response time but is perfect for development
|
5
|
+
# since you don't have to restart the webserver when you make code changes.
|
6
|
+
config.cache_classes = false
|
7
|
+
|
8
|
+
# Log error messages when you accidentally call methods on nil.
|
9
|
+
config.whiny_nils = true
|
10
|
+
|
11
|
+
# Show full error reports and disable caching
|
12
|
+
config.action_controller.consider_all_requests_local = true
|
13
|
+
config.action_view.debug_rjs = true
|
14
|
+
config.action_controller.perform_caching = false
|
15
|
+
|
16
|
+
# Don't care if the mailer can't send
|
17
|
+
config.action_mailer.raise_delivery_errors = false
|
@@ -0,0 +1,27 @@
|
|
1
|
+
# Settings specified here will take precedence over those in config/environment.rb
|
2
|
+
|
3
|
+
# The production environment is meant for finished, "live" apps.
|
4
|
+
# Code is not reloaded between requests
|
5
|
+
config.cache_classes = true
|
6
|
+
|
7
|
+
# Full error reports are disabled and caching is turned on
|
8
|
+
config.action_controller.consider_all_requests_local = false
|
9
|
+
config.action_controller.perform_caching = true
|
10
|
+
|
11
|
+
# See everything in the log (default is :info)
|
12
|
+
# config.log_level = :debug
|
13
|
+
|
14
|
+
# Use a different logger for distributed setups
|
15
|
+
# config.logger = SyslogLogger.new
|
16
|
+
|
17
|
+
# Use a different cache store in production
|
18
|
+
# config.cache_store = :mem_cache_store
|
19
|
+
|
20
|
+
# Enable serving of images, stylesheets, and javascripts from an asset server
|
21
|
+
# config.action_controller.asset_host = "http://assets.example.com"
|
22
|
+
|
23
|
+
# Disable delivery errors, bad email addresses will be ignored
|
24
|
+
# config.action_mailer.raise_delivery_errors = false
|
25
|
+
|
26
|
+
# Enable threaded mode
|
27
|
+
# config.threadsafe!
|
@@ -0,0 +1,27 @@
|
|
1
|
+
# Settings specified here will take precedence over those in config/environment.rb
|
2
|
+
|
3
|
+
# The test environment is used exclusively to run your application's
|
4
|
+
# test suite. You never need to work with it otherwise. Remember that
|
5
|
+
# your test database is "scratch space" for the test suite and is wiped
|
6
|
+
# and recreated between test runs. Don't rely on the data there!
|
7
|
+
config.cache_classes = true
|
8
|
+
|
9
|
+
# Log error messages when you accidentally call methods on nil.
|
10
|
+
config.whiny_nils = true
|
11
|
+
|
12
|
+
# Show full error reports and disable caching
|
13
|
+
config.action_controller.consider_all_requests_local = true
|
14
|
+
config.action_controller.perform_caching = false
|
15
|
+
|
16
|
+
# Disable request forgery protection in test environment
|
17
|
+
config.action_controller.allow_forgery_protection = false
|
18
|
+
|
19
|
+
# Tell Action Mailer not to deliver emails to the real world.
|
20
|
+
# The :test delivery method accumulates sent emails in the
|
21
|
+
# ActionMailer::Base.deliveries array.
|
22
|
+
config.action_mailer.delivery_method = :test
|
23
|
+
|
24
|
+
# Use SQL instead of Active Record's schema dumper when creating the test database.
|
25
|
+
# This is necessary if your schema can't be completely dumped by the schema dumper,
|
26
|
+
# like if you have constraints or database-specific column types
|
27
|
+
# config.active_record.schema_format = :sql
|
@@ -0,0 +1,7 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
|
3
|
+
# You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
|
4
|
+
# Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
|
5
|
+
|
6
|
+
# You can also remove all the silencers if you're trying do debug a problem that might steem from framework code.
|
7
|
+
# Rails.backtrace_cleaner.remove_silencers!
|
@@ -0,0 +1,10 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
|
3
|
+
# Add new inflection rules using the following format
|
4
|
+
# (all these examples are active by default):
|
5
|
+
# ActiveSupport::Inflector.inflections do |inflect|
|
6
|
+
# inflect.plural /^(ox)$/i, '\1en'
|
7
|
+
# inflect.singular /^(ox)en/i, '\1'
|
8
|
+
# inflect.irregular 'person', 'people'
|
9
|
+
# inflect.uncountable %w( fish sheep )
|
10
|
+
# end
|
@@ -0,0 +1,19 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
|
3
|
+
# These settings change the behavior of Rails 2 apps and will be defaults
|
4
|
+
# for Rails 3. You can remove this initializer when Rails 3 is released.
|
5
|
+
|
6
|
+
if defined?(ActiveRecord)
|
7
|
+
# Include Active Record class name as root for JSON serialized output.
|
8
|
+
ActiveRecord::Base.include_root_in_json = true
|
9
|
+
|
10
|
+
# Store the full class name (including module namespace) in STI type column.
|
11
|
+
ActiveRecord::Base.store_full_sti_class = true
|
12
|
+
end
|
13
|
+
|
14
|
+
# Use ISO 8601 format for JSON serialized times and dates.
|
15
|
+
ActiveSupport.use_standard_json_time_format = true
|
16
|
+
|
17
|
+
# Don't escape HTML entities in JSON, leave that for the #json_escape helper.
|
18
|
+
# if you're including raw json in an HTML page.
|
19
|
+
ActiveSupport.escape_html_entities_in_json = false
|
@@ -0,0 +1,15 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
|
3
|
+
# Your secret key for verifying cookie session data integrity.
|
4
|
+
# If you change this key, all old sessions will become invalid!
|
5
|
+
# Make sure the secret is at least 30 characters and all random,
|
6
|
+
# no regular words or you'll be exposed to dictionary attacks.
|
7
|
+
ActionController::Base.session = {
|
8
|
+
:key => '_sample_session',
|
9
|
+
:secret => '891595a536e41820c7fe27f675317950d954aebb3927086a1f2158f6d666aa27e86340ee6cbac8b4b34f94604a4bbb8c2b2978a2950af83ec65bdd472c2f85a2'
|
10
|
+
}
|
11
|
+
|
12
|
+
# Use the database for sessions instead of the cookie-based default,
|
13
|
+
# which shouldn't be used to store highly confidential information
|
14
|
+
# (create the session table with "rake db:sessions:create")
|
15
|
+
# ActionController::Base.session_store = :active_record_store
|
@@ -0,0 +1,45 @@
|
|
1
|
+
ActionController::Routing::Routes.draw do |map|
|
2
|
+
map.resources :articles
|
3
|
+
|
4
|
+
# The priority is based upon order of creation: first created -> highest priority.
|
5
|
+
|
6
|
+
# Sample of regular route:
|
7
|
+
# map.connect 'products/:id', :controller => 'catalog', :action => 'view'
|
8
|
+
# Keep in mind you can assign values other than :controller and :action
|
9
|
+
|
10
|
+
# Sample of named route:
|
11
|
+
# map.purchase 'products/:id/purchase', :controller => 'catalog', :action => 'purchase'
|
12
|
+
# This route can be invoked with purchase_url(:id => product.id)
|
13
|
+
|
14
|
+
# Sample resource route (maps HTTP verbs to controller actions automatically):
|
15
|
+
# map.resources :products
|
16
|
+
|
17
|
+
# Sample resource route with options:
|
18
|
+
# map.resources :products, :member => { :short => :get, :toggle => :post }, :collection => { :sold => :get }
|
19
|
+
|
20
|
+
# Sample resource route with sub-resources:
|
21
|
+
# map.resources :products, :has_many => [ :comments, :sales ], :has_one => :seller
|
22
|
+
|
23
|
+
# Sample resource route with more complex sub-resources
|
24
|
+
# map.resources :products do |products|
|
25
|
+
# products.resources :comments
|
26
|
+
# products.resources :sales, :collection => { :recent => :get }
|
27
|
+
# end
|
28
|
+
|
29
|
+
# Sample resource route within a namespace:
|
30
|
+
# map.namespace :admin do |admin|
|
31
|
+
# # Directs /admin/products/* to Admin::ProductsController (app/controllers/admin/products_controller.rb)
|
32
|
+
# admin.resources :products
|
33
|
+
# end
|
34
|
+
|
35
|
+
# You can have the root of your site routed with map.root -- just remember to delete public/index.html.
|
36
|
+
# map.root :controller => "welcome"
|
37
|
+
|
38
|
+
# See how all your routes lay out with "rake routes"
|
39
|
+
|
40
|
+
# Install the default routes as the lowest priority.
|
41
|
+
# Note: These default routes make all actions in every controller accessible via GET requests. You should
|
42
|
+
# consider removing the them or commenting them out if you're using named routes and resources.
|
43
|
+
map.connect ':controller/:action/:id'
|
44
|
+
map.connect ':controller/:action/:id.:format'
|
45
|
+
end
|
Binary file
|
Binary file
|
data/sample/db/schema.rb
ADDED
@@ -0,0 +1,19 @@
|
|
1
|
+
# This file is auto-generated from the current state of the database. Instead of editing this file,
|
2
|
+
# please use the migrations feature of Active Record to incrementally modify your database, and
|
3
|
+
# then regenerate this schema definition.
|
4
|
+
#
|
5
|
+
# Note that this schema.rb definition is the authoritative source for your database schema. If you need
|
6
|
+
# to create the application database on another system, you should be using db:schema:load, not running
|
7
|
+
# all the migrations from scratch. The latter is a flawed and unsustainable approach (the more migrations
|
8
|
+
# you'll amass, the slower it'll run and the greater likelihood for issues).
|
9
|
+
#
|
10
|
+
# It's strongly recommended to check this file into your version control system.
|
11
|
+
|
12
|
+
ActiveRecord::Schema.define(:version => 1) do
|
13
|
+
create_table :articles do |t|
|
14
|
+
t.string :title, :default => "", :null => false
|
15
|
+
t.text :description, :default => "", :null => false
|
16
|
+
t.date :lastupdate
|
17
|
+
t.timestamps
|
18
|
+
end
|
19
|
+
end
|
Binary file
|
@@ -0,0 +1,13 @@
|
|
1
|
+
desc "Create mo-files for L10n"
|
2
|
+
task :makemo do
|
3
|
+
require 'gettext_rails/tools'
|
4
|
+
GetText.create_mofiles
|
5
|
+
end
|
6
|
+
|
7
|
+
desc "Update pot/po files to match new version."
|
8
|
+
task :updatepo do
|
9
|
+
require 'gettext_rails/tools'
|
10
|
+
GetText.update_pofiles("blog", Dir.glob("{app,lib}/**/*.{rb,erb}"),
|
11
|
+
"blog 2.0.0")
|
12
|
+
end
|
13
|
+
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1,635 @@
|
|
1
|
+
# Logfile created on Thu Mar 12 00:04:58 +0900 2009 [4;36;1mSQL (0.6ms)[0m [0;1m SELECT name
|
2
|
+
FROM sqlite_master
|
3
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
4
|
+
[0m
|
5
|
+
[4;35;1mSQL (0.1ms)[0m [0mSELECT version FROM schema_migrations[0m
|
6
|
+
|
7
|
+
|
8
|
+
Processing ArticlesController#new (for 127.0.0.1 at 2009-03-12 00:05:04) [GET]
|
9
|
+
Rendering template within layouts/articles
|
10
|
+
Rendering articles/new
|
11
|
+
[4;36;1mArticle Load (0.5ms)[0m [0;1mSELECT * FROM "articles" ORDER BY lastupdate desc, id desc[0m
|
12
|
+
Completed in 135ms (View: 120, DB: 1) | 200 OK [http://localhost/articles/new]
|
13
|
+
|
14
|
+
|
15
|
+
Processing ArticlesController#create (for 127.0.0.1 at 2009-03-12 00:05:06) [POST]
|
16
|
+
Parameters: {"article"=>{"lastupdate(2i)"=>"3", "lastupdate(3i)"=>"11", "title"=>"", "description"=>"", "lastupdate(1i)"=>"2009"}, "commit"=>"投稿", "authenticity_token"=>"yPNWfvhYpqsaeSUk8nNQhWbJBK4iqnCvSbtOvE746qk="}
|
17
|
+
Rendering template within layouts/articles
|
18
|
+
Rendering articles/new
|
19
|
+
[4;35;1mArticle Load (0.4ms)[0m [0mSELECT * FROM "articles" ORDER BY lastupdate desc, id desc[0m
|
20
|
+
Completed in 54ms (View: 36, DB: 0) | 200 OK [http://localhost/articles]
|
21
|
+
|
22
|
+
|
23
|
+
Processing ArticlesController#cookie_locale (for 127.0.0.1 at 2009-03-12 00:05:09) [GET]
|
24
|
+
Parameters: {"id"=>"it"}
|
25
|
+
Redirected to actionindex
|
26
|
+
Filter chain halted as [#<Proc:0x00007f8dbf644f20@/home/mutoh/dev/git/gettext_rails/sample/vendor/plugins/lang_helper/init.rb:12>] rendered_or_redirected.
|
27
|
+
Completed in 28ms (DB: 0) | 302 Found [http://localhost/articles/cookie_locale/it]
|
28
|
+
|
29
|
+
|
30
|
+
Processing ArticlesController#index (for 127.0.0.1 at 2009-03-12 00:05:09) [GET]
|
31
|
+
[4;36;1mArticle Load (0.9ms)[0m [0;1mSELECT * FROM "articles" [0m
|
32
|
+
Rendering template within layouts/articles
|
33
|
+
Rendering articles/index
|
34
|
+
[4;35;1mArticle Load (0.7ms)[0m [0mSELECT * FROM "articles" ORDER BY lastupdate desc, id desc[0m
|
35
|
+
Completed in 52ms (View: 39, DB: 2) | 200 OK [http://localhost/articles]
|
36
|
+
|
37
|
+
|
38
|
+
Processing ArticlesController#new (for 127.0.0.1 at 2009-03-12 00:05:10) [GET]
|
39
|
+
Rendering template within layouts/articles
|
40
|
+
Rendering articles/new
|
41
|
+
[4;36;1mArticle Load (0.4ms)[0m [0;1mSELECT * FROM "articles" ORDER BY lastupdate desc, id desc[0m
|
42
|
+
Completed in 200ms (View: 187, DB: 0) | 200 OK [http://localhost/articles/new]
|
43
|
+
|
44
|
+
|
45
|
+
Processing ArticlesController#create (for 127.0.0.1 at 2009-03-12 00:05:12) [POST]
|
46
|
+
Parameters: {"article"=>{"lastupdate(2i)"=>"3", "lastupdate(3i)"=>"11", "title"=>"", "description"=>"", "lastupdate(1i)"=>"2009"}, "commit"=>"Crea", "authenticity_token"=>"yPNWfvhYpqsaeSUk8nNQhWbJBK4iqnCvSbtOvE746qk="}
|
47
|
+
Rendering template within layouts/articles
|
48
|
+
Rendering articles/new
|
49
|
+
[4;35;1mArticle Load (0.4ms)[0m [0mSELECT * FROM "articles" ORDER BY lastupdate desc, id desc[0m
|
50
|
+
Completed in 101ms (View: 74, DB: 0) | 200 OK [http://localhost/articles]
|
51
|
+
[4;36;1mSQL (0.6ms)[0m [0;1m SELECT name
|
52
|
+
FROM sqlite_master
|
53
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
54
|
+
[0m
|
55
|
+
[4;35;1mSQL (0.1ms)[0m [0mSELECT version FROM schema_migrations[0m
|
56
|
+
[4;36;1mSQL (0.6ms)[0m [0;1m SELECT name
|
57
|
+
FROM sqlite_master
|
58
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
59
|
+
[0m
|
60
|
+
[4;35;1mSQL (0.2ms)[0m [0mSELECT version FROM schema_migrations[0m
|
61
|
+
|
62
|
+
|
63
|
+
Processing ArticlesController#index (for 127.0.0.1 at 2009-03-12 01:25:12) [GET]
|
64
|
+
[4;36;1mArticle Load (0.6ms)[0m [0;1mSELECT * FROM "articles" [0m
|
65
|
+
Rendering template within layouts/articles
|
66
|
+
Rendering articles/index
|
67
|
+
[4;35;1mArticle Load (0.5ms)[0m [0mSELECT * FROM "articles" ORDER BY lastupdate desc, id desc[0m
|
68
|
+
Completed in 32ms (View: 22, DB: 1) | 200 OK [http://localhost/articles]
|
69
|
+
|
70
|
+
|
71
|
+
Processing ArticlesController#cookie_locale (for 127.0.0.1 at 2009-03-12 01:25:17) [GET]
|
72
|
+
Parameters: {"id"=>"ja"}
|
73
|
+
Redirected to actionindex
|
74
|
+
Filter chain halted as [#<Proc:0x00007f12292b75b8@/home/mutoh/dev/git/gettext_rails/sample/vendor/plugins/lang_helper/init.rb:12>] rendered_or_redirected.
|
75
|
+
Completed in 27ms (DB: 0) | 302 Found [http://localhost/articles/cookie_locale/ja]
|
76
|
+
|
77
|
+
|
78
|
+
Processing ArticlesController#index (for 127.0.0.1 at 2009-03-12 01:25:17) [GET]
|
79
|
+
[4;36;1mArticle Load (0.7ms)[0m [0;1mSELECT * FROM "articles" [0m
|
80
|
+
Rendering template within layouts/articles
|
81
|
+
Rendering articles/index
|
82
|
+
[4;35;1mArticle Load (0.5ms)[0m [0mSELECT * FROM "articles" ORDER BY lastupdate desc, id desc[0m
|
83
|
+
Completed in 31ms (View: 21, DB: 1) | 200 OK [http://localhost/articles]
|
84
|
+
|
85
|
+
|
86
|
+
Processing ArticlesController#new (for 127.0.0.1 at 2009-03-12 01:25:19) [GET]
|
87
|
+
Rendering template within layouts/articles
|
88
|
+
Rendering articles/new
|
89
|
+
[4;36;1mArticle Load (0.5ms)[0m [0;1mSELECT * FROM "articles" ORDER BY lastupdate desc, id desc[0m
|
90
|
+
Completed in 85ms (View: 76, DB: 0) | 200 OK [http://localhost/articles/new]
|
91
|
+
|
92
|
+
|
93
|
+
Processing ArticlesController#create (for 127.0.0.1 at 2009-03-12 01:25:21) [POST]
|
94
|
+
Parameters: {"article"=>{"lastupdate(2i)"=>"3", "lastupdate(3i)"=>"11", "title"=>"", "description"=>"", "lastupdate(1i)"=>"2009"}, "commit"=>"投稿", "authenticity_token"=>"yPNWfvhYpqsaeSUk8nNQhWbJBK4iqnCvSbtOvE746qk="}
|
95
|
+
Rendering template within layouts/articles
|
96
|
+
Rendering articles/new
|
97
|
+
[4;35;1mArticle Load (0.5ms)[0m [0mSELECT * FROM "articles" ORDER BY lastupdate desc, id desc[0m
|
98
|
+
Completed in 188ms (View: 161, DB: 1) | 200 OK [http://localhost/articles]
|
99
|
+
|
100
|
+
|
101
|
+
Processing ArticlesController#cookie_locale (for 127.0.0.1 at 2009-03-12 01:25:23) [GET]
|
102
|
+
Parameters: {"id"=>"fr"}
|
103
|
+
Redirected to actionindex
|
104
|
+
Filter chain halted as [#<Proc:0x00007f12292b75b8@/home/mutoh/dev/git/gettext_rails/sample/vendor/plugins/lang_helper/init.rb:12>] rendered_or_redirected.
|
105
|
+
Completed in 27ms (DB: 0) | 302 Found [http://localhost/articles/cookie_locale/fr]
|
106
|
+
|
107
|
+
|
108
|
+
Processing ArticlesController#index (for 127.0.0.1 at 2009-03-12 01:25:23) [GET]
|
109
|
+
[4;36;1mArticle Load (1.2ms)[0m [0;1mSELECT * FROM "articles" [0m
|
110
|
+
Rendering template within layouts/articles
|
111
|
+
Rendering articles/index
|
112
|
+
[4;35;1mArticle Load (0.7ms)[0m [0mSELECT * FROM "articles" ORDER BY lastupdate desc, id desc[0m
|
113
|
+
Completed in 54ms (View: 37, DB: 2) | 200 OK [http://localhost/articles]
|
114
|
+
|
115
|
+
|
116
|
+
Processing ArticlesController#new (for 127.0.0.1 at 2009-03-12 01:25:25) [GET]
|
117
|
+
Rendering template within layouts/articles
|
118
|
+
Rendering articles/new
|
119
|
+
[4;36;1mArticle Load (0.6ms)[0m [0;1mSELECT * FROM "articles" ORDER BY lastupdate desc, id desc[0m
|
120
|
+
Completed in 119ms (View: 105, DB: 1) | 200 OK [http://localhost/articles/new]
|
121
|
+
|
122
|
+
|
123
|
+
Processing ArticlesController#create (for 127.0.0.1 at 2009-03-12 01:25:26) [POST]
|
124
|
+
Parameters: {"article"=>{"lastupdate(2i)"=>"3", "lastupdate(3i)"=>"11", "title"=>"", "description"=>"", "lastupdate(1i)"=>"2009"}, "commit"=>"Créer", "authenticity_token"=>"yPNWfvhYpqsaeSUk8nNQhWbJBK4iqnCvSbtOvE746qk="}
|
125
|
+
Rendering template within layouts/articles
|
126
|
+
Rendering articles/new
|
127
|
+
[4;35;1mArticle Load (0.4ms)[0m [0mSELECT * FROM "articles" ORDER BY lastupdate desc, id desc[0m
|
128
|
+
Completed in 160ms (View: 40, DB: 0) | 200 OK [http://localhost/articles]
|
129
|
+
[4;36;1mSQL (0.7ms)[0m [0;1m SELECT name
|
130
|
+
FROM sqlite_master
|
131
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
132
|
+
[0m
|
133
|
+
[4;35;1mSQL (0.3ms)[0m [0mSELECT version FROM schema_migrations[0m
|
134
|
+
[4;36;1mSQL (0.3ms)[0m [0;1m SELECT name
|
135
|
+
FROM sqlite_master
|
136
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
137
|
+
[0m
|
138
|
+
[4;35;1mSQL (0.2ms)[0m [0mSELECT version FROM schema_migrations[0m
|
139
|
+
[4;36;1mSQL (0.2ms)[0m [0;1mselect sqlite_version(*)[0m
|
140
|
+
[4;35;1mSQL (7.2ms)[0m [0mCREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255) DEFAULT '' NOT NULL, "description" text DEFAULT '' NOT NULL, "lastupdate" date, "created_at" datetime, "updated_at" datetime) [0m
|
141
|
+
[4;36;1mSQL (0.2ms)[0m [0;1m SELECT name
|
142
|
+
FROM sqlite_master
|
143
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
144
|
+
[0m
|
145
|
+
[4;35;1mSQL (3.1ms)[0m [0mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
146
|
+
[4;36;1mSQL (7.9ms)[0m [0;1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
147
|
+
[4;35;1mSQL (0.2ms)[0m [0m SELECT name
|
148
|
+
FROM sqlite_master
|
149
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
150
|
+
[0m
|
151
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM "schema_migrations"[0m
|
152
|
+
[4;35;1mSQL (6.0ms)[0m [0mINSERT INTO "schema_migrations" (version) VALUES ('1')[0m
|
153
|
+
[4;36;1mSQL (0.6ms)[0m [0;1m SELECT name
|
154
|
+
FROM sqlite_master
|
155
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
156
|
+
[0m
|
157
|
+
[4;35;1mSQL (0.2ms)[0m [0mSELECT version FROM schema_migrations[0m
|
158
|
+
|
159
|
+
|
160
|
+
Processing ArticlesController#index (for 127.0.0.1 at 2009-03-16 00:13:50) [GET]
|
161
|
+
[4;36;1mArticle Load (1.7ms)[0m [0;1mSELECT * FROM "articles" [0m
|
162
|
+
Rendering template within layouts/articles
|
163
|
+
Rendering articles/index
|
164
|
+
[4;35;1mArticle Load (0.7ms)[0m [0mSELECT * FROM "articles" ORDER BY lastupdate desc, id desc[0m
|
165
|
+
Completed in 457ms (View: 446, DB: 2) | 200 OK [http://localhost/articles]
|
166
|
+
[4;36;1mSQL (0.6ms)[0m [0;1m SELECT name
|
167
|
+
FROM sqlite_master
|
168
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
169
|
+
[0m
|
170
|
+
[4;35;1mSQL (0.2ms)[0m [0mSELECT version FROM schema_migrations[0m
|
171
|
+
[4;36;1mSQL (0.6ms)[0m [0;1m SELECT name
|
172
|
+
FROM sqlite_master
|
173
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
174
|
+
[0m
|
175
|
+
[4;35;1mSQL (0.2ms)[0m [0mSELECT version FROM schema_migrations[0m
|
176
|
+
|
177
|
+
|
178
|
+
Processing ArticlesController#index (for 127.0.0.1 at 2009-03-16 00:33:33) [GET]
|
179
|
+
[4;36;1mArticle Load (0.7ms)[0m [0;1mSELECT * FROM "articles" [0m
|
180
|
+
Rendering template within layouts/articles
|
181
|
+
Rendering articles/index
|
182
|
+
[4;35;1mArticle Load (0.5ms)[0m [0mSELECT * FROM "articles" ORDER BY lastupdate desc, id desc[0m
|
183
|
+
Completed in 128ms (View: 117, DB: 1) | 200 OK [http://localhost/articles]
|
184
|
+
|
185
|
+
|
186
|
+
Processing ApplicationController#index (for 127.0.0.1 at 2009-03-16 00:33:53) [GET]
|
187
|
+
|
188
|
+
ActionController::RoutingError (No route matches "/users/custom_error_message" with {:method=>:get}):
|
189
|
+
actionpack (2.3.0) lib/action_controller/routing/recognition_optimisation.rb:66:in `recognize_path'
|
190
|
+
actionpack (2.3.0) lib/action_controller/routing/route_set.rb:437:in `recognize'
|
191
|
+
actionpack (2.3.0) lib/action_controller/routing/route_set.rb:432:in `call'
|
192
|
+
actionpack (2.3.0) lib/action_controller/dispatcher.rb:65:in `dispatch'
|
193
|
+
actionpack (2.3.0) lib/action_controller/dispatcher.rb:88:in `_call'
|
194
|
+
actionpack (2.3.0) lib/action_controller/dispatcher.rb:59:in `initialize'
|
195
|
+
activerecord (2.3.0) lib/active_record/query_cache.rb:29:in `call'
|
196
|
+
activerecord (2.3.0) lib/active_record/query_cache.rb:29:in `call'
|
197
|
+
activerecord (2.3.0) lib/active_record/connection_adapters/abstract/query_cache.rb:34:in `cache'
|
198
|
+
activerecord (2.3.0) lib/active_record/query_cache.rb:9:in `cache'
|
199
|
+
activerecord (2.3.0) lib/active_record/query_cache.rb:28:in `call'
|
200
|
+
actionpack (2.3.0) lib/action_controller/params_parser.rb:15:in `call'
|
201
|
+
actionpack (2.3.0) lib/action_controller/rewindable_input.rb:25:in `call'
|
202
|
+
actionpack (2.3.0) lib/action_controller/session/cookie_store.rb:93:in `call'
|
203
|
+
actionpack (2.3.0) lib/action_controller/failsafe.rb:11:in `call'
|
204
|
+
actionpack (2.3.0) lib/action_controller/rack_ext/lock.rb:15:in `call'
|
205
|
+
actionpack (2.3.0) lib/action_controller/rack_ext/lock.rb:15:in `synchronize'
|
206
|
+
actionpack (2.3.0) lib/action_controller/rack_ext/lock.rb:15:in `call'
|
207
|
+
actionpack (2.3.0) lib/action_controller/dispatcher.rb:83:in `call'
|
208
|
+
rails (2.3.0) lib/rails/rack/static.rb:27:in `call'
|
209
|
+
rails (2.3.0) lib/rails/rack/log_tailer.rb:17:in `call'
|
210
|
+
rails (2.3.0) lib/commands/server.rb:100
|
211
|
+
|
212
|
+
Rendering rescues/layout (not_found)
|
213
|
+
|
214
|
+
|
215
|
+
Processing TestsController#custom_error_message (for 127.0.0.1 at 2009-03-16 00:36:10) [GET]
|
216
|
+
|
217
|
+
ActiveRecord::StatementInvalid (Could not find table 'tests'):
|
218
|
+
activerecord (2.3.0) lib/active_record/connection_adapters/sqlite3_adapter.rb:29:in `table_structure'
|
219
|
+
activesupport (2.3.0) lib/active_support/core_ext/object/misc.rb:39:in `returning'
|
220
|
+
activerecord (2.3.0) lib/active_record/connection_adapters/sqlite3_adapter.rb:28:in `table_structure'
|
221
|
+
activerecord (2.3.0) lib/active_record/connection_adapters/sqlite_adapter.rb:189:in `columns'
|
222
|
+
activerecord (2.3.0) lib/active_record/base.rb:1276:in `columns_without_gettext_activerecord'
|
223
|
+
/usr/lib/ruby/gems/1.8/gems/gettext_activerecord-2.3.0/lib/gettext_activerecord/base.rb:55:in `columns'
|
224
|
+
activerecord (2.3.0) lib/active_record/base.rb:3002:in `attributes_from_column_definition_without_lock'
|
225
|
+
activerecord (2.3.0) lib/active_record/locking/optimistic.rb:55:in `attributes_from_column_definition'
|
226
|
+
activerecord (2.3.0) lib/active_record/base.rb:2428:in `initialize'
|
227
|
+
app/controllers/tests_controller.rb:3:in `new'
|
228
|
+
app/controllers/tests_controller.rb:3:in `custom_error_message'
|
229
|
+
actionpack (2.3.0) lib/action_controller/base.rb:1261:in `send'
|
230
|
+
actionpack (2.3.0) lib/action_controller/base.rb:1261:in `perform_action_without_filters'
|
231
|
+
actionpack (2.3.0) lib/action_controller/filters.rb:617:in `call_filters'
|
232
|
+
actionpack (2.3.0) lib/action_controller/filters.rb:610:in `perform_action_without_benchmark'
|
233
|
+
actionpack (2.3.0) lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
|
234
|
+
actionpack (2.3.0) lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
|
235
|
+
actionpack (2.3.0) lib/action_controller/rescue.rb:154:in `perform_action_without_flash'
|
236
|
+
actionpack (2.3.0) lib/action_controller/flash.rb:141:in `perform_action'
|
237
|
+
actionpack (2.3.0) lib/action_controller/base.rb:523:in `send'
|
238
|
+
actionpack (2.3.0) lib/action_controller/base.rb:523:in `process_without_filters'
|
239
|
+
actionpack (2.3.0) lib/action_controller/filters.rb:606:in `process'
|
240
|
+
actionpack (2.3.0) lib/action_controller/base.rb:391:in `process'
|
241
|
+
actionpack (2.3.0) lib/action_controller/base.rb:386:in `call'
|
242
|
+
actionpack (2.3.0) lib/action_controller/routing/route_set.rb:433:in `call'
|
243
|
+
actionpack (2.3.0) lib/action_controller/dispatcher.rb:65:in `dispatch'
|
244
|
+
actionpack (2.3.0) lib/action_controller/dispatcher.rb:88:in `_call'
|
245
|
+
actionpack (2.3.0) lib/action_controller/dispatcher.rb:59:in `initialize'
|
246
|
+
activerecord (2.3.0) lib/active_record/query_cache.rb:29:in `call'
|
247
|
+
activerecord (2.3.0) lib/active_record/query_cache.rb:29:in `call'
|
248
|
+
activerecord (2.3.0) lib/active_record/connection_adapters/abstract/query_cache.rb:34:in `cache'
|
249
|
+
activerecord (2.3.0) lib/active_record/query_cache.rb:9:in `cache'
|
250
|
+
activerecord (2.3.0) lib/active_record/query_cache.rb:28:in `call'
|
251
|
+
actionpack (2.3.0) lib/action_controller/params_parser.rb:15:in `call'
|
252
|
+
actionpack (2.3.0) lib/action_controller/rewindable_input.rb:25:in `call'
|
253
|
+
actionpack (2.3.0) lib/action_controller/session/cookie_store.rb:93:in `call'
|
254
|
+
actionpack (2.3.0) lib/action_controller/failsafe.rb:11:in `call'
|
255
|
+
actionpack (2.3.0) lib/action_controller/rack_ext/lock.rb:15:in `call'
|
256
|
+
actionpack (2.3.0) lib/action_controller/rack_ext/lock.rb:15:in `synchronize'
|
257
|
+
actionpack (2.3.0) lib/action_controller/rack_ext/lock.rb:15:in `call'
|
258
|
+
actionpack (2.3.0) lib/action_controller/dispatcher.rb:83:in `call'
|
259
|
+
rails (2.3.0) lib/rails/rack/static.rb:27:in `call'
|
260
|
+
rails (2.3.0) lib/rails/rack/log_tailer.rb:17:in `call'
|
261
|
+
rails (2.3.0) lib/commands/server.rb:100
|
262
|
+
|
263
|
+
Rendered rescues/_trace (58.6ms)
|
264
|
+
Rendered rescues/_request_and_response (0.9ms)
|
265
|
+
Rendering rescues/layout (internal_server_error)
|
266
|
+
[4;36;1mSQL (0.6ms)[0m [0;1m SELECT name
|
267
|
+
FROM sqlite_master
|
268
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
269
|
+
[0m
|
270
|
+
[4;35;1mSQL (0.4ms)[0m [0mselect sqlite_version(*)[0m
|
271
|
+
[4;36;1mSQL (4.1ms)[0m [0;1mCREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255) DEFAULT '' NOT NULL, "description" text DEFAULT '' NOT NULL, "lastupdate" date, "created_at" datetime, "updated_at" datetime) [0m
|
272
|
+
[4;35;1mSQL (3.2ms)[0m [0mCREATE TABLE "tests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) DEFAULT '' NOT NULL, "lastupdate" date) [0m
|
273
|
+
[4;36;1mSQL (0.5ms)[0m [0;1m SELECT name
|
274
|
+
FROM sqlite_master
|
275
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
276
|
+
[0m
|
277
|
+
[4;35;1mSQL (11.3ms)[0m [0mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
278
|
+
[4;36;1mSQL (9.8ms)[0m [0;1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
279
|
+
[4;35;1mSQL (0.6ms)[0m [0m SELECT name
|
280
|
+
FROM sqlite_master
|
281
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
282
|
+
[0m
|
283
|
+
[4;36;1mSQL (0.3ms)[0m [0;1mSELECT version FROM "schema_migrations"[0m
|
284
|
+
[4;35;1mSQL (5.5ms)[0m [0mINSERT INTO "schema_migrations" (version) VALUES ('1')[0m
|
285
|
+
[4;36;1mSQL (1.1ms)[0m [0;1m SELECT name
|
286
|
+
FROM sqlite_master
|
287
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
288
|
+
[0m
|
289
|
+
[4;35;1mSQL (0.3ms)[0m [0mSELECT version FROM schema_migrations[0m
|
290
|
+
|
291
|
+
|
292
|
+
Processing TestsController#custom_error_message (for 127.0.0.1 at 2009-03-16 00:39:47) [GET]
|
293
|
+
Rendering tests/custom_error_message
|
294
|
+
Completed in 591ms (View: 568, DB: 0) | 200 OK [http://localhost/tests/custom_error_message]
|
295
|
+
[4;36;1mSQL (0.7ms)[0m [0;1m SELECT name
|
296
|
+
FROM sqlite_master
|
297
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
298
|
+
[0m
|
299
|
+
[4;35;1mSQL (0.2ms)[0m [0mSELECT version FROM schema_migrations[0m
|
300
|
+
[4;36;1mSQL (0.6ms)[0m [0;1m SELECT name
|
301
|
+
FROM sqlite_master
|
302
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
303
|
+
[0m
|
304
|
+
[4;35;1mSQL (0.1ms)[0m [0mSELECT version FROM schema_migrations[0m
|
305
|
+
[4;36;1mSQL (0.3ms)[0m [0;1mselect sqlite_version(*)[0m
|
306
|
+
[4;35;1mSQL (0.0ms)[0m [0mSQLite3::SQLException: table "articles" already exists: CREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255) DEFAULT '' NOT NULL, "description" text DEFAULT '' NOT NULL, "lastupdate" date, "created_at" datetime, "updated_at" datetime) [0m
|
307
|
+
[4;36;1mSQL (0.7ms)[0m [0;1m SELECT name
|
308
|
+
FROM sqlite_master
|
309
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
310
|
+
[0m
|
311
|
+
[4;35;1mSQL (0.2ms)[0m [0mSELECT version FROM schema_migrations[0m
|
312
|
+
|
313
|
+
|
314
|
+
Processing ArticlesController#index (for 127.0.0.1 at 2009-03-20 20:47:08) [GET]
|
315
|
+
[4;36;1mArticle Load (0.5ms)[0m [0;1mSELECT * FROM "articles" [0m
|
316
|
+
Rendering template within layouts/articles
|
317
|
+
Rendering articles/index
|
318
|
+
[4;35;1mArticle Load (0.3ms)[0m [0mSELECT * FROM "articles" ORDER BY lastupdate desc, id desc[0m
|
319
|
+
Completed in 198ms (View: 162, DB: 1) | 200 OK [http://localhost/articles]
|
320
|
+
|
321
|
+
|
322
|
+
Processing ArticlesController#index (for 127.0.0.1 at 2009-03-20 20:47:46) [GET]
|
323
|
+
[4;36;1mArticle Load (0.5ms)[0m [0;1mSELECT * FROM "articles" [0m
|
324
|
+
Rendering template within layouts/articles
|
325
|
+
Rendering articles/index
|
326
|
+
[4;35;1mArticle Load (0.4ms)[0m [0mSELECT * FROM "articles" ORDER BY lastupdate desc, id desc[0m
|
327
|
+
Completed in 26ms (View: 17, DB: 1) | 200 OK [http://localhost/articles]
|
328
|
+
|
329
|
+
|
330
|
+
Processing ArticlesController#index (for 127.0.0.1 at 2009-03-20 20:48:24) [GET]
|
331
|
+
[4;36;1mArticle Load (0.8ms)[0m [0;1mSELECT * FROM "articles" [0m
|
332
|
+
Rendering template within layouts/articles
|
333
|
+
Rendering articles/index
|
334
|
+
[4;35;1mArticle Load (0.4ms)[0m [0mSELECT * FROM "articles" ORDER BY lastupdate desc, id desc[0m
|
335
|
+
Completed in 34ms (View: 20, DB: 1) | 200 OK [http://localhost/articles]
|
336
|
+
[4;36;1mSQL (0.6ms)[0m [0;1m SELECT name
|
337
|
+
FROM sqlite_master
|
338
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
339
|
+
[0m
|
340
|
+
[4;35;1mSQL (0.2ms)[0m [0mSELECT version FROM schema_migrations[0m
|
341
|
+
[4;36;1mSQL (0.6ms)[0m [0;1m SELECT name
|
342
|
+
FROM sqlite_master
|
343
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
344
|
+
[0m
|
345
|
+
[4;35;1mSQL (0.1ms)[0m [0mSELECT version FROM schema_migrations[0m
|
346
|
+
[4;36;1mSQL (0.6ms)[0m [0;1m SELECT name
|
347
|
+
FROM sqlite_master
|
348
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
349
|
+
[0m
|
350
|
+
[4;35;1mSQL (0.2ms)[0m [0mSELECT version FROM schema_migrations[0m
|
351
|
+
|
352
|
+
|
353
|
+
Processing ArticlesController#index (for 127.0.0.1 at 2009-03-22 17:37:23) [GET]
|
354
|
+
[4;36;1mArticle Load (0.5ms)[0m [0;1mSELECT * FROM "articles" [0m
|
355
|
+
Rendering template within layouts/articles
|
356
|
+
Rendering articles/index
|
357
|
+
[4;35;1mArticle Load (0.3ms)[0m [0mSELECT * FROM "articles" ORDER BY lastupdate desc, id desc[0m
|
358
|
+
Completed in 105ms (View: 84, DB: 1) | 200 OK [http://localhost/articles]
|
359
|
+
|
360
|
+
|
361
|
+
Processing ArticlesController#new (for 127.0.0.1 at 2009-03-22 17:37:26) [GET]
|
362
|
+
Rendering template within layouts/articles
|
363
|
+
Rendering articles/new
|
364
|
+
[4;36;1mArticle Load (0.3ms)[0m [0;1mSELECT * FROM "articles" ORDER BY lastupdate desc, id desc[0m
|
365
|
+
Completed in 327ms (View: 312, DB: 0) | 200 OK [http://localhost/articles/new]
|
366
|
+
|
367
|
+
|
368
|
+
Processing ArticlesController#create (for 127.0.0.1 at 2009-03-22 17:37:28) [POST]
|
369
|
+
Parameters: {"article"=>{"lastupdate(2i)"=>"3", "lastupdate(3i)"=>"22", "title"=>"", "description"=>"", "lastupdate(1i)"=>"2009"}, "commit"=>"投稿", "authenticity_token"=>"Y+BCnfAzvSnQeWMhbYgOOZcTySSu06AC+QKlBKMFuyg="}
|
370
|
+
Rendering template within layouts/articles
|
371
|
+
Rendering articles/new
|
372
|
+
[4;35;1mArticle Load (0.3ms)[0m [0mSELECT * FROM "articles" ORDER BY lastupdate desc, id desc[0m
|
373
|
+
Completed in 82ms (View: 49, DB: 0) | 200 OK [http://localhost/articles]
|
374
|
+
|
375
|
+
|
376
|
+
Processing ArticlesController#create (for 127.0.0.1 at 2009-03-22 17:37:36) [POST]
|
377
|
+
Parameters: {"article"=>{"lastupdate(2i)"=>"3", "lastupdate(3i)"=>"22", "title"=>"", "description"=>"", "lastupdate(1i)"=>"2009"}, "commit"=>"投稿", "authenticity_token"=>"Y+BCnfAzvSnQeWMhbYgOOZcTySSu06AC+QKlBKMFuyg="}
|
378
|
+
Rendering template within layouts/articles
|
379
|
+
Rendering articles/new
|
380
|
+
[4;36;1mArticle Load (0.3ms)[0m [0;1mSELECT * FROM "articles" ORDER BY lastupdate desc, id desc[0m
|
381
|
+
Completed in 53ms (View: 30, DB: 0) | 200 OK [http://localhost/articles]
|
382
|
+
[4;36;1mSQL (0.9ms)[0m [0;1m SELECT name
|
383
|
+
FROM sqlite_master
|
384
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
385
|
+
[0m
|
386
|
+
[4;35;1mSQL (0.2ms)[0m [0mSELECT version FROM schema_migrations[0m
|
387
|
+
|
388
|
+
|
389
|
+
Processing ArticlesController#create (for 127.0.0.1 at 2009-03-22 17:39:15) [POST]
|
390
|
+
Parameters: {"article"=>{"lastupdate(2i)"=>"3", "lastupdate(3i)"=>"22", "title"=>"", "description"=>"", "lastupdate(1i)"=>"2009"}, "commit"=>"投稿", "authenticity_token"=>"Y+BCnfAzvSnQeWMhbYgOOZcTySSu06AC+QKlBKMFuyg="}
|
391
|
+
Rendering template within layouts/articles
|
392
|
+
Rendering articles/new
|
393
|
+
[4;36;1mArticle Load (0.4ms)[0m [0;1mSELECT * FROM "articles" ORDER BY lastupdate desc, id desc[0m
|
394
|
+
Completed in 62ms (View: 42, DB: 0) | 200 OK [http://localhost/articles]
|
395
|
+
|
396
|
+
|
397
|
+
Processing ArticlesController#create (for 127.0.0.1 at 2009-03-22 17:39:16) [POST]
|
398
|
+
Parameters: {"article"=>{"lastupdate(2i)"=>"3", "lastupdate(3i)"=>"22", "title"=>"", "description"=>"", "lastupdate(1i)"=>"2009"}, "commit"=>"投稿", "authenticity_token"=>"Y+BCnfAzvSnQeWMhbYgOOZcTySSu06AC+QKlBKMFuyg="}
|
399
|
+
Rendering template within layouts/articles
|
400
|
+
Rendering articles/new
|
401
|
+
[4;35;1mArticle Load (0.3ms)[0m [0mSELECT * FROM "articles" ORDER BY lastupdate desc, id desc[0m
|
402
|
+
Completed in 162ms (View: 130, DB: 0) | 200 OK [http://localhost/articles]
|
403
|
+
|
404
|
+
|
405
|
+
Processing ArticlesController#create (for 127.0.0.1 at 2009-03-22 17:39:17) [POST]
|
406
|
+
Parameters: {"article"=>{"lastupdate(2i)"=>"3", "lastupdate(3i)"=>"22", "title"=>"", "description"=>"", "lastupdate(1i)"=>"2009"}, "commit"=>"投稿", "authenticity_token"=>"Y+BCnfAzvSnQeWMhbYgOOZcTySSu06AC+QKlBKMFuyg="}
|
407
|
+
Rendering template within layouts/articles
|
408
|
+
Rendering articles/new
|
409
|
+
[4;36;1mArticle Load (0.5ms)[0m [0;1mSELECT * FROM "articles" ORDER BY lastupdate desc, id desc[0m
|
410
|
+
Completed in 78ms (View: 45, DB: 1) | 200 OK [http://localhost/articles]
|
411
|
+
|
412
|
+
|
413
|
+
Processing ArticlesController#create (for 127.0.0.1 at 2009-03-22 17:39:18) [POST]
|
414
|
+
Parameters: {"article"=>{"lastupdate(2i)"=>"3", "lastupdate(3i)"=>"22", "title"=>"", "description"=>"", "lastupdate(1i)"=>"2009"}, "commit"=>"投稿", "authenticity_token"=>"Y+BCnfAzvSnQeWMhbYgOOZcTySSu06AC+QKlBKMFuyg="}
|
415
|
+
Rendering template within layouts/articles
|
416
|
+
Rendering articles/new
|
417
|
+
[4;35;1mArticle Load (0.5ms)[0m [0mSELECT * FROM "articles" ORDER BY lastupdate desc, id desc[0m
|
418
|
+
Completed in 73ms (View: 43, DB: 1) | 200 OK [http://localhost/articles]
|
419
|
+
|
420
|
+
|
421
|
+
Processing ArticlesController#create (for 127.0.0.1 at 2009-03-22 17:39:19) [POST]
|
422
|
+
Parameters: {"article"=>{"lastupdate(2i)"=>"3", "lastupdate(3i)"=>"22", "title"=>"", "description"=>"", "lastupdate(1i)"=>"2009"}, "commit"=>"投稿", "authenticity_token"=>"Y+BCnfAzvSnQeWMhbYgOOZcTySSu06AC+QKlBKMFuyg="}
|
423
|
+
Rendering template within layouts/articles
|
424
|
+
Rendering articles/new
|
425
|
+
[4;36;1mArticle Load (0.4ms)[0m [0;1mSELECT * FROM "articles" ORDER BY lastupdate desc, id desc[0m
|
426
|
+
Completed in 170ms (View: 141, DB: 0) | 200 OK [http://localhost/articles]
|
427
|
+
[4;36;1mSQL (0.9ms)[0m [0;1m SELECT name
|
428
|
+
FROM sqlite_master
|
429
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
430
|
+
[0m
|
431
|
+
[4;35;1mSQL (0.2ms)[0m [0mSELECT version FROM schema_migrations[0m
|
432
|
+
|
433
|
+
|
434
|
+
Processing ArticlesController#create (for 127.0.0.1 at 2009-03-22 17:43:23) [POST]
|
435
|
+
Parameters: {"article"=>{"lastupdate(2i)"=>"3", "lastupdate(3i)"=>"22", "title"=>"", "description"=>"", "lastupdate(1i)"=>"2009"}, "commit"=>"投稿", "authenticity_token"=>"Y+BCnfAzvSnQeWMhbYgOOZcTySSu06AC+QKlBKMFuyg="}
|
436
|
+
Rendering template within layouts/articles
|
437
|
+
Rendering articles/new
|
438
|
+
[4;36;1mArticle Load (0.4ms)[0m [0;1mSELECT * FROM "articles" ORDER BY lastupdate desc, id desc[0m
|
439
|
+
Completed in 92ms (View: 58, DB: 0) | 200 OK [http://localhost/articles]
|
440
|
+
[4;36;1mSQL (0.7ms)[0m [0;1m SELECT name
|
441
|
+
FROM sqlite_master
|
442
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
443
|
+
[0m
|
444
|
+
[4;35;1mSQL (0.2ms)[0m [0mSELECT version FROM schema_migrations[0m
|
445
|
+
|
446
|
+
|
447
|
+
Processing ArticlesController#create (for 127.0.0.1 at 2009-03-22 17:43:49) [POST]
|
448
|
+
Parameters: {"article"=>{"lastupdate(2i)"=>"3", "lastupdate(3i)"=>"22", "title"=>"", "description"=>"", "lastupdate(1i)"=>"2009"}, "commit"=>"投稿", "authenticity_token"=>"Y+BCnfAzvSnQeWMhbYgOOZcTySSu06AC+QKlBKMFuyg="}
|
449
|
+
Rendering template within layouts/articles
|
450
|
+
Rendering articles/new
|
451
|
+
[4;36;1mArticle Load (0.5ms)[0m [0;1mSELECT * FROM "articles" ORDER BY lastupdate desc, id desc[0m
|
452
|
+
Completed in 103ms (View: 70, DB: 0) | 200 OK [http://localhost/articles]
|
453
|
+
[4;36;1mSQL (0.6ms)[0m [0;1m SELECT name
|
454
|
+
FROM sqlite_master
|
455
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
456
|
+
[0m
|
457
|
+
[4;35;1mSQL (0.1ms)[0m [0mSELECT version FROM schema_migrations[0m
|
458
|
+
|
459
|
+
|
460
|
+
Processing ArticlesController#create (for 127.0.0.1 at 2009-03-22 17:44:29) [POST]
|
461
|
+
Parameters: {"article"=>{"lastupdate(2i)"=>"3", "lastupdate(3i)"=>"22", "title"=>"", "description"=>"", "lastupdate(1i)"=>"2009"}, "commit"=>"投稿", "authenticity_token"=>"Y+BCnfAzvSnQeWMhbYgOOZcTySSu06AC+QKlBKMFuyg="}
|
462
|
+
Rendering template within layouts/articles
|
463
|
+
Rendering articles/new
|
464
|
+
[4;36;1mArticle Load (0.3ms)[0m [0;1mSELECT * FROM "articles" ORDER BY lastupdate desc, id desc[0m
|
465
|
+
Completed in 88ms (View: 55, DB: 0) | 200 OK [http://localhost/articles]
|
466
|
+
[4;36;1mSQL (0.6ms)[0m [0;1m SELECT name
|
467
|
+
FROM sqlite_master
|
468
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
469
|
+
[0m
|
470
|
+
[4;35;1mSQL (0.2ms)[0m [0mSELECT version FROM schema_migrations[0m
|
471
|
+
|
472
|
+
|
473
|
+
Processing ArticlesController#index (for 127.0.0.1 at 2009-03-22 17:45:49) [GET]
|
474
|
+
[4;36;1mArticle Load (0.8ms)[0m [0;1mSELECT * FROM "articles" [0m
|
475
|
+
Rendering template within layouts/articles
|
476
|
+
Rendering articles/index
|
477
|
+
[4;35;1mArticle Load (0.3ms)[0m [0mSELECT * FROM "articles" ORDER BY lastupdate desc, id desc[0m
|
478
|
+
Completed in 44ms (View: 28, DB: 1) | 200 OK [http://localhost/articles]
|
479
|
+
|
480
|
+
|
481
|
+
Processing ArticlesController#create (for 127.0.0.1 at 2009-03-22 17:45:53) [POST]
|
482
|
+
Parameters: {"article"=>{"lastupdate(2i)"=>"3", "lastupdate(3i)"=>"22", "title"=>"", "description"=>"", "lastupdate(1i)"=>"2009"}, "commit"=>"投稿", "authenticity_token"=>"Y+BCnfAzvSnQeWMhbYgOOZcTySSu06AC+QKlBKMFuyg="}
|
483
|
+
Rendering template within layouts/articles
|
484
|
+
Rendering articles/new
|
485
|
+
[4;36;1mArticle Load (0.3ms)[0m [0;1mSELECT * FROM "articles" ORDER BY lastupdate desc, id desc[0m
|
486
|
+
Completed in 64ms (View: 44, DB: 0) | 200 OK [http://localhost/articles]
|
487
|
+
[4;36;1mSQL (0.7ms)[0m [0;1m SELECT name
|
488
|
+
FROM sqlite_master
|
489
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
490
|
+
[0m
|
491
|
+
[4;35;1mSQL (0.2ms)[0m [0mSELECT version FROM schema_migrations[0m
|
492
|
+
|
493
|
+
|
494
|
+
Processing ArticlesController#create (for 127.0.0.1 at 2009-03-22 17:46:47) [POST]
|
495
|
+
Parameters: {"article"=>{"lastupdate(2i)"=>"3", "lastupdate(3i)"=>"22", "title"=>"", "description"=>"", "lastupdate(1i)"=>"2009"}, "commit"=>"投稿", "authenticity_token"=>"Y+BCnfAzvSnQeWMhbYgOOZcTySSu06AC+QKlBKMFuyg="}
|
496
|
+
Rendering template within layouts/articles
|
497
|
+
Rendering articles/new
|
498
|
+
[4;36;1mArticle Load (0.4ms)[0m [0;1mSELECT * FROM "articles" ORDER BY lastupdate desc, id desc[0m
|
499
|
+
Completed in 91ms (View: 67, DB: 0) | 200 OK [http://localhost/articles]
|
500
|
+
|
501
|
+
|
502
|
+
Processing ArticlesController#create (for 127.0.0.1 at 2009-03-22 17:48:39) [POST]
|
503
|
+
Parameters: {"article"=>{"lastupdate(2i)"=>"3", "lastupdate(3i)"=>"22", "title"=>"", "description"=>"", "lastupdate(1i)"=>"2009"}, "commit"=>"投稿", "authenticity_token"=>"Y+BCnfAzvSnQeWMhbYgOOZcTySSu06AC+QKlBKMFuyg="}
|
504
|
+
Rendering template within layouts/articles
|
505
|
+
Rendering articles/new
|
506
|
+
[4;35;1mArticle Load (0.3ms)[0m [0mSELECT * FROM "articles" ORDER BY lastupdate desc, id desc[0m
|
507
|
+
Completed in 425ms (View: 388, DB: 0) | 200 OK [http://localhost/articles]
|
508
|
+
[4;36;1mSQL (0.7ms)[0m [0;1m SELECT name
|
509
|
+
FROM sqlite_master
|
510
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
511
|
+
[0m
|
512
|
+
[4;35;1mSQL (0.2ms)[0m [0mSELECT version FROM schema_migrations[0m
|
513
|
+
[4;36;1mSQL (1.1ms)[0m [0;1m SELECT name
|
514
|
+
FROM sqlite_master
|
515
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
516
|
+
[0m
|
517
|
+
[4;35;1mSQL (0.3ms)[0m [0mSELECT version FROM schema_migrations[0m
|
518
|
+
[4;36;1mSQL (0.6ms)[0m [0;1m SELECT name
|
519
|
+
FROM sqlite_master
|
520
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
521
|
+
[0m
|
522
|
+
[4;35;1mSQL (0.2ms)[0m [0mSELECT version FROM schema_migrations[0m
|
523
|
+
|
524
|
+
|
525
|
+
Processing ArticlesController#create (for 127.0.0.1 at 2009-03-22 17:58:11) [POST]
|
526
|
+
Parameters: {"article"=>{"lastupdate(2i)"=>"3", "lastupdate(3i)"=>"22", "title"=>"", "description"=>"", "lastupdate(1i)"=>"2009"}, "commit"=>"投稿", "authenticity_token"=>"Y+BCnfAzvSnQeWMhbYgOOZcTySSu06AC+QKlBKMFuyg="}
|
527
|
+
Rendering template within layouts/articles
|
528
|
+
Rendering articles/new
|
529
|
+
[4;36;1mArticle Load (0.4ms)[0m [0;1mSELECT * FROM "articles" ORDER BY lastupdate desc, id desc[0m
|
530
|
+
Completed in 106ms (View: 67, DB: 0) | 200 OK [http://localhost/articles]
|
531
|
+
|
532
|
+
|
533
|
+
Processing ArticlesController#create (for 127.0.0.1 at 2009-03-22 17:58:14) [POST]
|
534
|
+
Parameters: {"article"=>{"lastupdate(2i)"=>"3", "lastupdate(3i)"=>"22", "title"=>"", "description"=>"", "lastupdate(1i)"=>"2009"}, "commit"=>"投稿", "authenticity_token"=>"Y+BCnfAzvSnQeWMhbYgOOZcTySSu06AC+QKlBKMFuyg="}
|
535
|
+
Rendering template within layouts/articles
|
536
|
+
Rendering articles/new
|
537
|
+
[4;35;1mArticle Load (15.7ms)[0m [0mSELECT * FROM "articles" ORDER BY lastupdate desc, id desc[0m
|
538
|
+
Completed in 173ms (View: 125, DB: 16) | 200 OK [http://localhost/articles]
|
539
|
+
[4;36;1mSQL (0.8ms)[0m [0;1m SELECT name
|
540
|
+
FROM sqlite_master
|
541
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
542
|
+
[0m
|
543
|
+
[4;35;1mSQL (0.2ms)[0m [0mSELECT version FROM schema_migrations[0m
|
544
|
+
|
545
|
+
|
546
|
+
Processing ArticlesController#index (for 127.0.0.1 at 2009-03-22 18:29:28) [GET]
|
547
|
+
[4;36;1mArticle Load (0.6ms)[0m [0;1mSELECT * FROM "articles" [0m
|
548
|
+
Rendering template within layouts/articles
|
549
|
+
Rendering articles/index
|
550
|
+
[4;35;1mArticle Load (0.4ms)[0m [0mSELECT * FROM "articles" ORDER BY lastupdate desc, id desc[0m
|
551
|
+
Completed in 33ms (View: 22, DB: 1) | 200 OK [http://localhost/articles]
|
552
|
+
|
553
|
+
|
554
|
+
Processing ArticlesController#new (for 127.0.0.1 at 2009-03-22 18:29:30) [GET]
|
555
|
+
Rendering template within layouts/articles
|
556
|
+
Rendering articles/new
|
557
|
+
[4;36;1mArticle Load (0.4ms)[0m [0;1mSELECT * FROM "articles" ORDER BY lastupdate desc, id desc[0m
|
558
|
+
Completed in 199ms (View: 188, DB: 0) | 200 OK [http://localhost/articles/new]
|
559
|
+
|
560
|
+
|
561
|
+
Processing ArticlesController#create (for 127.0.0.1 at 2009-03-22 18:29:32) [POST]
|
562
|
+
Parameters: {"article"=>{"lastupdate(2i)"=>"3", "lastupdate(3i)"=>"22", "title"=>"", "description"=>"", "lastupdate(1i)"=>"2009"}, "commit"=>"投稿", "authenticity_token"=>"Y+BCnfAzvSnQeWMhbYgOOZcTySSu06AC+QKlBKMFuyg="}
|
563
|
+
Rendering template within layouts/articles
|
564
|
+
Rendering articles/new
|
565
|
+
[4;35;1mArticle Load (0.3ms)[0m [0mSELECT * FROM "articles" ORDER BY lastupdate desc, id desc[0m
|
566
|
+
Completed in 55ms (View: 36, DB: 0) | 200 OK [http://localhost/articles]
|
567
|
+
[4;36;1mSQL (0.7ms)[0m [0;1m SELECT name
|
568
|
+
FROM sqlite_master
|
569
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
570
|
+
[0m
|
571
|
+
[4;35;1mSQL (0.2ms)[0m [0mSELECT version FROM schema_migrations[0m
|
572
|
+
|
573
|
+
|
574
|
+
Processing ArticlesController#create (for 127.0.0.1 at 2009-03-22 18:30:35) [POST]
|
575
|
+
Parameters: {"article"=>{"lastupdate(2i)"=>"3", "lastupdate(3i)"=>"22", "title"=>"", "description"=>"", "lastupdate(1i)"=>"2009"}, "commit"=>"投稿", "authenticity_token"=>"Y+BCnfAzvSnQeWMhbYgOOZcTySSu06AC+QKlBKMFuyg="}
|
576
|
+
Rendering template within layouts/articles
|
577
|
+
Rendering articles/new
|
578
|
+
[4;36;1mArticle Load (0.4ms)[0m [0;1mSELECT * FROM "articles" ORDER BY lastupdate desc, id desc[0m
|
579
|
+
Completed in 80ms (View: 51, DB: 0) | 200 OK [http://localhost/articles]
|
580
|
+
[4;36;1mSQL (0.6ms)[0m [0;1m SELECT name
|
581
|
+
FROM sqlite_master
|
582
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
583
|
+
[0m
|
584
|
+
[4;35;1mSQL (0.2ms)[0m [0mSELECT version FROM schema_migrations[0m
|
585
|
+
|
586
|
+
|
587
|
+
Processing ArticlesController#index (for 127.0.0.1 at 2009-03-22 18:38:32) [GET]
|
588
|
+
[4;36;1mArticle Load (0.6ms)[0m [0;1mSELECT * FROM "articles" [0m
|
589
|
+
Rendering template within layouts/articles
|
590
|
+
Rendering articles/index
|
591
|
+
[4;35;1mArticle Load (0.4ms)[0m [0mSELECT * FROM "articles" ORDER BY lastupdate desc, id desc[0m
|
592
|
+
Completed in 33ms (View: 22, DB: 1) | 200 OK [http://localhost/articles]
|
593
|
+
|
594
|
+
|
595
|
+
Processing ArticlesController#new (for 127.0.0.1 at 2009-03-22 18:38:36) [GET]
|
596
|
+
Rendering template within layouts/articles
|
597
|
+
Rendering articles/new
|
598
|
+
[4;36;1mArticle Load (0.4ms)[0m [0;1mSELECT * FROM "articles" ORDER BY lastupdate desc, id desc[0m
|
599
|
+
Completed in 215ms (View: 200, DB: 0) | 200 OK [http://localhost/articles/new]
|
600
|
+
|
601
|
+
|
602
|
+
Processing ArticlesController#create (for 127.0.0.1 at 2009-03-22 18:38:38) [POST]
|
603
|
+
Parameters: {"article"=>{"lastupdate(2i)"=>"3", "lastupdate(3i)"=>"22", "title"=>"", "description"=>"", "lastupdate(1i)"=>"2009"}, "commit"=>"投稿", "authenticity_token"=>"Y+BCnfAzvSnQeWMhbYgOOZcTySSu06AC+QKlBKMFuyg="}
|
604
|
+
Rendering template within layouts/articles
|
605
|
+
Rendering articles/new
|
606
|
+
[4;35;1mArticle Load (0.5ms)[0m [0mSELECT * FROM "articles" ORDER BY lastupdate desc, id desc[0m
|
607
|
+
Completed in 81ms (View: 49, DB: 0) | 200 OK [http://localhost/articles]
|
608
|
+
|
609
|
+
|
610
|
+
Processing ArticlesController#index (for 127.0.0.1 at 2009-03-22 18:38:40) [GET]
|
611
|
+
[4;36;1mArticle Load (0.7ms)[0m [0;1mSELECT * FROM "articles" [0m
|
612
|
+
Rendering template within layouts/articles
|
613
|
+
Rendering articles/index
|
614
|
+
[4;35;1mArticle Load (0.4ms)[0m [0mSELECT * FROM "articles" ORDER BY lastupdate desc, id desc[0m
|
615
|
+
Completed in 36ms (View: 21, DB: 1) | 200 OK [http://localhost/articles]
|
616
|
+
[4;36;1mSQL (0.7ms)[0m [0;1m SELECT name
|
617
|
+
FROM sqlite_master
|
618
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
619
|
+
[0m
|
620
|
+
[4;35;1mSQL (0.2ms)[0m [0mSELECT version FROM schema_migrations[0m
|
621
|
+
|
622
|
+
|
623
|
+
Processing ArticlesController#new (for 127.0.0.1 at 2009-03-22 18:39:15) [GET]
|
624
|
+
Rendering template within layouts/articles
|
625
|
+
Rendering articles/new
|
626
|
+
[4;36;1mArticle Load (0.4ms)[0m [0;1mSELECT * FROM "articles" ORDER BY lastupdate desc, id desc[0m
|
627
|
+
Completed in 117ms (View: 101, DB: 0) | 200 OK [http://localhost/articles/new]
|
628
|
+
|
629
|
+
|
630
|
+
Processing ArticlesController#index (for 127.0.0.1 at 2009-03-22 18:39:17) [GET]
|
631
|
+
[4;35;1mArticle Load (0.7ms)[0m [0mSELECT * FROM "articles" [0m
|
632
|
+
Rendering template within layouts/articles
|
633
|
+
Rendering articles/index
|
634
|
+
[4;36;1mArticle Load (0.5ms)[0m [0;1mSELECT * FROM "articles" ORDER BY lastupdate desc, id desc[0m
|
635
|
+
Completed in 134ms (View: 119, DB: 1) | 200 OK [http://localhost/articles]
|