Episode #265 - April 20th, 2012 続き
eloquent explanations
http://www.neotericdesign.com/blog/eloquent-explanations
- RubyNationでのセッション内容がまとめられているブログ記事
Prince of Persia
https://github.com/jmechner/Prince-of-Persia-Apple-II
Prince of Persia(プリンス・オブ・ペルシャ)のゲームのソースコードが公開された
- githubで見たら、.Sという拡張子を持つファイルが沢山あった…
BohConf Pullathon
http://railsconf.austinonrails.org/bohconf
pullathonのスポンサーBohConf
Episode #265 - April 20th, 2012
http://ruby5.envylabs.com/episodes/269-episode-265-april-20th-2012
Authority
FECH
http://open.blogs.nytimes.com/2012/04/11/announcing-fech-1-0/
- "Federal Election Commission electronic campaign filings"のパース用gem
- アメリカ連邦選挙委員会の電子データ
redis_failover
https://github.com/ryanlecompte/redis_failover
- Rubyにmaster/slaveの自動フェイルオーバーを付加するgem
- RedisFailover::Client のラッパーも提供している
rubygems-bundler
https://github.com/mpapis/rubygems-bundler
- もう'bundle exec'しなくていい!
- gemをインストール→~/.gemrcにcustom_shebang: $env ruby_noexec_wrapperを書く→gem regenerate_binstubs
でおk
redis-props
https://github.com/obie/redis_props
- modelクラスの拡張
- attributesで検索が出来る
↓な感じ(上のgithubのReadmeより引用)
class Dog < ActiveRecord::Base include RedisProps redis_props :has_medical_condition do define :fleas, default: false end end > dog = Dog.create(name: "Fido") > dog.has_medical_condition_fleas? false > dog.has_medical_condition_fleas = true > dog = Dog.find_by_name("Fido") > dog.has_medical_condition_fleas? true
Episode #264 - April 17th, 2012 続き
Rails Footnotes 3.7.7
Ruby Massively Multiplayer Online
https://github.com/reedlaw/ruby-mmo
- RubyでMMOが出来る???
- MMOのシュミレーションで誰が一番優れたシュミレーションに出来るかという挑戦??
ruby-plsql 0.5.0 released
https://github.com/rsim/ruby-plsql
ActiveRecord 3.2、Ruby 1.8.7, 1.9.3 and JRuby 1.6.7に対応している
Bundler instead of RVM gemsets
http://rakeroutes.com/blog/how-to-use-bundler-instead-of-rvm-gemsets/
- RVMのgemsetを使わずに各Rubyプロジェクトのgem環境を分ける
- bundle exacを使う??
やり方が↑の記事に載っている。日本語に起こす時間があったら上げる…(時間あるかなー…
Code School
http://www.codeschool.com/
企業向けで、Ruby/Rails/JavaScript/HTML5やCSS3についての、Web教材を探してるなら連絡してね〜
カスタムするよ〜
Episode #264 - April 17th, 2012
Backbone Views with jquery-ujs
http://reefpoints.dockyard.com/javascript/2012/04/16/using-backbone-views-with-rails-jquery-ujs.html
Shared Mustache Templates For Rails 3
http://blog.railsware.com/2012/04/12/shared-mustache-templates-for-rails-3/
- クライアントサイドのテンプレート
- Hogan.js, Handlebars, Mustache がある
このブログ記事ではMustacheが選ばれている
-
- 選んだ理由:シンプルで、いろんな言語に対応しているから
- (今回はJSとRubyに対応していればいいけれど)
Mustacheをfork??した???か、Mustacheを使っている、smt_railsというgemを作った。という話
Episode #263 - April 13th, 2012 続き
Decorators vs Other Patterns
http://robots.thoughtbot.com/post/20964851591/decorators-compared-to-strategies-composites-and
- デザインパターンの話…??
Garbage Collection in Ruby 2.0
http://patshaughnessy.net/2012/3/23/why-you-should-be-excited-about-garbage-collection-in-ruby-2-0
- Ruby 2.0のガーベジコレクションの話
- 新しいアルゴリズム
- “Bitmap Marking”と呼ばれる
- 詳しい技術的内容は↑のブログ記事に
Testing like the TSA
http://37signals.com/svn/posts/3159-testing-like-the-tsa
- TDDについての議論
- テストを書き過ぎること・書かないこと
Episode #263 - April 13th, 2012
http://ruby5.envylabs.com/episodes/267-episode-263-april-13th-2012
Adhearsion 2.0
http://mojolingo.com/blog/2012/adhearsion-2-0-its-aliiiive/
- 音声駆動開発… オープンソース
−ドキュメントが新しくなった
- ウェブサイトもリニューアル
rdoc-spellcheck 1.0
http://blog.segment7.net/2012/04/09/rdoc-spellcheck-1-0
- スペルチェック用gem
- クラス名とかのチェックにも使える
今日はここまで…!
なるべく早いうちに続き上げます…
Episode #262 - April 10th, 2012 続き
Protect instance variables with Proffer
https://github.com/hudge/proffer
すべてのインスタンス変数がcontrollerからViewに共有されてしまう
- これを防ぐためにprofferというgemが使える
- decent_exposure gemと目的は一緒
decent_exposureとprofferの違い
- decent_exposureではcontrollerの一番上に宣言する必要がある
- profferメソッドを呼んで、シンボルとかでインスタンス変数を呼び出せる????
debugger
https://github.com/cldwalker/debuggerx
Ruby1.9.3はruby-debug19と共存できない
Pryなら対応している。
ただ、やっぱりruby-debugとは違う。
ruby-debugからforkされたdebuggersがリリースされた!!1.9.3で使えるよー!!!