Permalink
Browse files

automatic import from ryanb/railscasts-episodes

  • Loading branch information...
0 parents commit 57e8cf440bc735783fa472c880c0f4fef01f7468 @ryanb ryanb committed Feb 21, 2012
Showing with 2,083 additions and 0 deletions.
  1. +14 −0 README.md
  2. +15 −0 messenger-after/.gitignore
  3. +40 −0 messenger-after/Gemfile
  4. +115 −0 messenger-after/Gemfile.lock
  5. +261 −0 messenger-after/README.rdoc
  6. +7 −0 messenger-after/Rakefile
  7. BIN messenger-after/app/assets/images/rails.png
  8. +15 −0 messenger-after/app/assets/javascripts/application.js
  9. +3 −0 messenger-after/app/assets/javascripts/messages.js.coffee
  10. +87 −0 messenger-after/app/assets/stylesheets/application.css
  11. +3 −0 messenger-after/app/assets/stylesheets/messages.css.scss
  12. +3 −0 messenger-after/app/controllers/application_controller.rb
  13. +15 −0 messenger-after/app/controllers/messages_controller.rb
  14. +2 −0 messenger-after/app/helpers/application_helper.rb
  15. +2 −0 messenger-after/app/helpers/messages_helper.rb
  16. 0 messenger-after/app/mailers/.gitkeep
  17. 0 messenger-after/app/models/.gitkeep
  18. +14 −0 messenger-after/app/models/message.rb
  19. +17 −0 messenger-after/app/views/layouts/application.html.erb
  20. +27 −0 messenger-after/app/views/messages/new.html.erb
  21. +4 −0 messenger-after/config.ru
  22. +65 −0 messenger-after/config/application.rb
  23. +6 −0 messenger-after/config/boot.rb
  24. +25 −0 messenger-after/config/database.yml
  25. +5 −0 messenger-after/config/environment.rb
  26. +37 −0 messenger-after/config/environments/development.rb
  27. +67 −0 messenger-after/config/environments/production.rb
  28. +37 −0 messenger-after/config/environments/test.rb
  29. +7 −0 messenger-after/config/initializers/backtrace_silencers.rb
  30. +15 −0 messenger-after/config/initializers/inflections.rb
  31. +5 −0 messenger-after/config/initializers/mime_types.rb
  32. +7 −0 messenger-after/config/initializers/secret_token.rb
  33. +8 −0 messenger-after/config/initializers/session_store.rb
  34. +14 −0 messenger-after/config/initializers/wrap_parameters.rb
  35. +5 −0 messenger-after/config/locales/en.yml
  36. +4 −0 messenger-after/config/routes.rb
  37. +7 −0 messenger-after/db/seeds.rb
  38. +2 −0 messenger-after/doc/README_FOR_APP
  39. 0 messenger-after/lib/assets/.gitkeep
  40. 0 messenger-after/lib/tasks/.gitkeep
  41. 0 messenger-after/log/.gitkeep
  42. +26 −0 messenger-after/public/404.html
  43. +26 −0 messenger-after/public/422.html
  44. +25 −0 messenger-after/public/500.html
  45. 0 messenger-after/public/favicon.ico
  46. +5 −0 messenger-after/public/robots.txt
  47. +6 −0 messenger-after/script/rails
  48. 0 messenger-after/vendor/assets/javascripts/.gitkeep
  49. 0 messenger-after/vendor/assets/stylesheets/.gitkeep
  50. 0 messenger-after/vendor/plugins/.gitkeep
  51. +15 −0 messenger-before/.gitignore
  52. +38 −0 messenger-before/Gemfile
  53. +111 −0 messenger-before/Gemfile.lock
  54. +261 −0 messenger-before/README.rdoc
  55. +7 −0 messenger-before/Rakefile
  56. BIN messenger-before/app/assets/images/rails.png
  57. +15 −0 messenger-before/app/assets/javascripts/application.js
  58. +3 −0 messenger-before/app/assets/javascripts/messages.js.coffee
  59. +87 −0 messenger-before/app/assets/stylesheets/application.css
  60. +3 −0 messenger-before/app/assets/stylesheets/messages.css.scss
  61. +3 −0 messenger-before/app/controllers/application_controller.rb
  62. +15 −0 messenger-before/app/controllers/messages_controller.rb
  63. +2 −0 messenger-before/app/helpers/application_helper.rb
  64. +2 −0 messenger-before/app/helpers/messages_helper.rb
  65. 0 messenger-before/app/mailers/.gitkeep
  66. 0 messenger-before/app/models/.gitkeep
  67. +21 −0 messenger-before/app/models/message.rb
  68. +17 −0 messenger-before/app/views/layouts/application.html.erb
  69. +27 −0 messenger-before/app/views/messages/new.html.erb
  70. +4 −0 messenger-before/config.ru
  71. +65 −0 messenger-before/config/application.rb
  72. +6 −0 messenger-before/config/boot.rb
  73. +25 −0 messenger-before/config/database.yml
  74. +5 −0 messenger-before/config/environment.rb
  75. +37 −0 messenger-before/config/environments/development.rb
  76. +67 −0 messenger-before/config/environments/production.rb
  77. +37 −0 messenger-before/config/environments/test.rb
  78. +7 −0 messenger-before/config/initializers/backtrace_silencers.rb
  79. +15 −0 messenger-before/config/initializers/inflections.rb
  80. +5 −0 messenger-before/config/initializers/mime_types.rb
  81. +7 −0 messenger-before/config/initializers/secret_token.rb
  82. +8 −0 messenger-before/config/initializers/session_store.rb
  83. +14 −0 messenger-before/config/initializers/wrap_parameters.rb
  84. +5 −0 messenger-before/config/locales/en.yml
  85. +4 −0 messenger-before/config/routes.rb
  86. +7 −0 messenger-before/db/seeds.rb
  87. +2 −0 messenger-before/doc/README_FOR_APP
  88. 0 messenger-before/lib/assets/.gitkeep
  89. 0 messenger-before/lib/tasks/.gitkeep
  90. 0 messenger-before/log/.gitkeep
  91. +26 −0 messenger-before/public/404.html
  92. +26 −0 messenger-before/public/422.html
  93. +25 −0 messenger-before/public/500.html
  94. 0 messenger-before/public/favicon.ico
  95. +5 −0 messenger-before/public/robots.txt
  96. +6 −0 messenger-before/script/rails
  97. 0 messenger-before/vendor/assets/javascripts/.gitkeep
  98. 0 messenger-before/vendor/assets/stylesheets/.gitkeep
  99. 0 messenger-before/vendor/plugins/.gitkeep
@@ -0,0 +1,14 @@
+# RailsCasts Episode #326: ActiveAttr
+
+http://railscasts.com/episodes/326-activeattr
+
+Requires Ruby 1.9.2 or higher.
+
+Commands used in console:
+
+```ruby
+m = Message.new(priority: 1)
+m.priority
+m.priority = 1
+m.priority?
+```
@@ -0,0 +1,15 @@
+# See http://help.github.com/ignore-files/ for more about ignoring files.
+#
+# If you find yourself ignoring temporary files generated by your text editor
+# or operating system, you probably want to add a global ignore instead:
+# git config --global core.excludesfile ~/.gitignore_global
+
+# Ignore bundler config
+/.bundle
+
+# Ignore the default SQLite database.
+/db/*.sqlite3
+
+# Ignore all logfiles and tempfiles.
+/log/*.log
+/tmp
@@ -0,0 +1,40 @@
+source 'https://rubygems.org'
+
+gem 'rails', '3.2.1'
+
+# Bundle edge Rails instead:
+# gem 'rails', :git => 'git://github.com/rails/rails.git'
+
+gem 'sqlite3'
+
+
+# Gems used only for assets and not required
+# in production environments by default.
+group :assets do
+ gem 'sass-rails', '~> 3.2.3'
+ gem 'coffee-rails', '~> 3.2.1'
+
+ # See https://github.com/sstephenson/execjs#readme for more supported runtimes
+ # gem 'therubyracer'
+
+ gem 'uglifier', '>= 1.0.3'
+end
+
+gem 'jquery-rails'
+
+# To use ActiveModel has_secure_password
+# gem 'bcrypt-ruby', '~> 3.0.0'
+
+# To use Jbuilder templates for JSON
+# gem 'jbuilder'
+
+# Use unicorn as the web server
+# gem 'unicorn'
+
+# Deploy with Capistrano
+# gem 'capistrano'
+
+# To use debugger
+# gem 'ruby-debug19', :require => 'ruby-debug'
+
+gem 'active_attr'
@@ -0,0 +1,115 @@
+GEM
+ remote: https://rubygems.org/
+ specs:
+ actionmailer (3.2.1)
+ actionpack (= 3.2.1)
+ mail (~> 2.4.0)
+ actionpack (3.2.1)
+ activemodel (= 3.2.1)
+ activesupport (= 3.2.1)
+ builder (~> 3.0.0)
+ erubis (~> 2.7.0)
+ journey (~> 1.0.1)
+ rack (~> 1.4.0)
+ rack-cache (~> 1.1)
+ rack-test (~> 0.6.1)
+ sprockets (~> 2.1.2)
+ active_attr (0.4.1)
+ activemodel (~> 3.1)
+ activesupport (~> 3.1)
+ activemodel (3.2.1)
+ activesupport (= 3.2.1)
+ builder (~> 3.0.0)
+ activerecord (3.2.1)
+ activemodel (= 3.2.1)
+ activesupport (= 3.2.1)
+ arel (~> 3.0.0)
+ tzinfo (~> 0.3.29)
+ activeresource (3.2.1)
+ activemodel (= 3.2.1)
+ activesupport (= 3.2.1)
+ activesupport (3.2.1)
+ i18n (~> 0.6)
+ multi_json (~> 1.0)
+ arel (3.0.1)
+ builder (3.0.0)
+ coffee-rails (3.2.2)
+ coffee-script (>= 2.2.0)
+ railties (~> 3.2.0)
+ coffee-script (2.2.0)
+ coffee-script-source
+ execjs
+ coffee-script-source (1.2.0)
+ erubis (2.7.0)
+ execjs (1.3.0)
+ multi_json (~> 1.0)
+ hike (1.2.1)
+ i18n (0.6.0)
+ journey (1.0.2)
+ jquery-rails (2.0.0)
+ railties (>= 3.2.0.beta, < 5.0)
+ thor (~> 0.14)
+ json (1.6.5)
+ mail (2.4.1)
+ i18n (>= 0.4.0)
+ mime-types (~> 1.16)
+ treetop (~> 1.4.8)
+ mime-types (1.17.2)
+ multi_json (1.1.0)
+ polyglot (0.3.3)
+ rack (1.4.1)
+ rack-cache (1.1)
+ rack (>= 0.4)
+ rack-ssl (1.3.2)
+ rack
+ rack-test (0.6.1)
+ rack (>= 1.0)
+ rails (3.2.1)
+ actionmailer (= 3.2.1)
+ actionpack (= 3.2.1)
+ activerecord (= 3.2.1)
+ activeresource (= 3.2.1)
+ activesupport (= 3.2.1)
+ bundler (~> 1.0)
+ railties (= 3.2.1)
+ railties (3.2.1)
+ actionpack (= 3.2.1)
+ activesupport (= 3.2.1)
+ rack-ssl (~> 1.3.2)
+ rake (>= 0.8.7)
+ rdoc (~> 3.4)
+ thor (~> 0.14.6)
+ rake (0.9.2.2)
+ rdoc (3.12)
+ json (~> 1.4)
+ sass (3.1.15)
+ sass-rails (3.2.4)
+ railties (~> 3.2.0)
+ sass (>= 3.1.10)
+ tilt (~> 1.3)
+ sprockets (2.1.2)
+ hike (~> 1.2)
+ rack (~> 1.0)
+ tilt (~> 1.1, != 1.3.0)
+ sqlite3 (1.3.5)
+ thor (0.14.6)
+ tilt (1.3.3)
+ treetop (1.4.10)
+ polyglot
+ polyglot (>= 0.3.1)
+ tzinfo (0.3.31)
+ uglifier (1.2.3)
+ execjs (>= 0.3.0)
+ multi_json (>= 1.0.2)
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ active_attr
+ coffee-rails (~> 3.2.1)
+ jquery-rails
+ rails (= 3.2.1)
+ sass-rails (~> 3.2.3)
+ sqlite3
+ uglifier (>= 1.0.3)
Oops, something went wrong.

0 comments on commit 57e8cf4

Please sign in to comment.