If you are tired of the browser vendor prefixes in CSS, check out Bourbon. It provides Sass mixins and functions to make CSS more convenient.
Posted by fxn March 07, 2012 @ 07:22 PM Over the years I have seen some confusion about what is exactly docrails and how it relates to the documentation of Ruby on Rails. This post explains everything you want to know about this aspect of the project. What is docrails? docrails is a b...
RSpec とは、公式サイト の説明によれば、「プログラムの振舞 (behaviour)」を記述するためのドメイン特化言語 (DomainSpecific Language:DSL) を提供するフレームワーク」 です。 プログラムの振舞? ドメイン特化言語?……順番に説明させてください。 プログラムの振舞 (behaviour) 「プログラムの振舞」とはプログラム全体あるいは様々なレベルでの部分 (モ ジュールやクラス、メソッド) に対して期待する振舞 (behaviour:ビヘイビア) の ことです――といっても何も特別なものではありません。 具体例で説明しまし...
Split testing allows you to experiment with different designs and track conversions to determine which one is the most effective. Learn how to do A/B testing using Split in this episode.
Maybe Super Tuesday got me in a mood to play with numbers tonight. I was poking around analytics stats for DueProps and noticed that my users are not fans of Internet Explorer in any significant numbers and among them, most use modern versions of IE (8,9) by a huge margin. These visit...
rails_best_practices 1.9.0 released Posted by flyerhzm on March 07, 2012 — 0 comments I just released rails_best_practices 1.9.0, it adds "protect mass assignment" check, helps you avoid being hacked like github, check out the changelog here Comments Post a Comment Comment abiliti...
Tunnels has been released - A solution to run the Pow over SSL Posted by jugyo on March 07, 2012 — 0 comments I have released Tunnels . This is a proxy to http from https. By using this, you can run the Pow over SSL! Comments Post a Comment Comment abilities for non registered use...
@wycats Right. That is why they are unnecessary and only confuse developers. I didn’t see this until I happened to discover Io. After learning Io I was using Ruby and had to (once again) consult Pickaxe so I could remember the details of Ruby’s complicated inheritance / lookup model. ...
Bundler manages an application's dependencies through its entire life, across many machines, systematically and repeatably
レポート班の主な目的として、以下の2つがあります。 るびまに RubyKaigi 直前特集号 を載せてもらい、事前に今年の RubyKaigi の面白さを伝える gihyo.jp での当日レポート で、直接見れなかったセッションの内容と雰囲気を伝える RubyKaigi 直前特集号では主に各セッションの内容を紹介し、その見所を簡単にコメントすることで、参加者がどのセッションを選ぶかの材料になるようにしました。RubyKaigi は 2 セッションが同時に発表されるマルチトラックなため、最大限楽しんでもらうために必要なものであると考えています。直前特集号ではその他に...
lost an argument with me on GitHub ranted about it on his blog: Giles... bemoans bundler, because typing "bundle exec" represents ceremony, and using any of the myriad solutions to avoid typing "bundle exec", such as bundler binstubs or rvm gemsets, represents configuration which viol...
At Pivotal Labs, one of the services we provide our clients is helping them interview and hire. Pivotal Labs and our clients place a strong emphasis on Agile development and its many aspects: Pair Programming, Test-Driven Development, rapid iterations, and frequent refactoring. ESSENT...
unko 0.0.0 Write a gem description install gem install unko Download Documentation Subscribe Stats Authors egussan 13 total downloads 13 for this version Owners Bundler gem "unko", "~> 0.0.0" Versions 0.0.0 March 7, 2012 Help Guides Blog Contribute Mobile Status Code Discuss Stats Abo...
When you first look at some Ruby code, it will likely remind you of other programming languages you’ve used. This is on purpose. Much of the syntax is familiar to users of Perl, Python, and Java (among other languages), so if you’ve used those, learning Ruby will be a piece of cake.
Bundler manages an application's dependencies through its entire life, across many machines, systematically and repeatably
In the example above “render” is the name of the event, and the rest is called the payload . The payload is a mechanism that allows instrumenters to pass extra information to subscribers. Payloads consist of a hash whose contents are arbitrary and generally depend on the event.
Usually a select menu is used for setting a belongs_to association, but in this episode I will show you how to use a text field with auto completion.
NAME SYNOPSIS DESCRIPTION GIT AND PATH GEMS REMOTE FETCHING bundle-package(1) bundle-package(1) NAME bundle-package - Package your needed .gem files into your application SYNOPSIS bundle package DESCRIPTION Copy all of the .gem files needed to run the application into the vendor/cache...
Great writeup. Glad you’re finding Shoulda feels good. A few common requests and complaints have floated around Shoulda for some time. “How do I use context with Shoulda macros?” “I don’t like Shoulda’s string evaluation.” (should_redirect_to ‘login_url’ in your example above) “Should...
Maximum Modularity with Cells and Rails Engines Posted by apotonick on March 07, 2012 — 0 comments Cells + Engines bring real reusability to Rails. And it's soo easy to distribute your cells between different projects. Comments Post a Comment Comment abilities for non registered u...
今回からしばらく「確認画面」をテーマにして話を続けます。 タスクの新規作成フォームに入力して「次へ」をクリックすると、入力内容をユーザーに確認させる画面が表示されて「保存」ボタンをクリックすると実際にタスクがデータベースに保存され、「戻る」ボタンをクリックすると新規作成フォームに戻る、という流れを実装します。 例によって、ルーティングの変更から。 $ edit config/routes.rb ActionController::Routing::Routes.draw do |map| map.root :controller => 'top', :action...
Square brackets follow a tag definition and contain a Ruby object that is used to set the class and id of that tag. The class is set to the object’s class (transformed to use underlines rather than camel case) and the id is set to the object’s class, followed by its id. Because the id...
Javascript tests are good, but manually-maintained HTML fixtures are painful. It's time consuming to keep fixture markup in sync with the actual markup produced by your app. Despite best efforts, deviations arise, leading to bugs and false positives in tests. For the past few months o...