This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| be72210 Update gem 'guard-rspec' | |
| 233f60b Create new resoure 'UserGroup' | |
| a54daf3 Update gem 'shoulda-matchers' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 10.bytes | |
| # => 10 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Available versions: | |
| 1.8.6-p383 | |
| 1.8.6-p420 | |
| 1.8.7-p249 | |
| 1.8.7-p302 | |
| 1.8.7-p334 | |
| 1.8.7-p352 | |
| 1.8.7-p357 | |
| 1.8.7-p358 | |
| 1.8.7-p370 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| !(true) | |
| # => false |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /Users/yinaura/.rbenv/versions/2.2.4/lib/ruby/2.2.0/rubygems.rb:243:in | |
| `bin_path': can't find gem bundler (>= 0) (Gem::GemNotFoundException) | |
| from /Users/yinaura/projects/project/bin/bundle:4:in `<main>' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class World | |
| JAPAN = '日本' | |
| end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class Book < ActiveRecord::Base | |
| TITLE_MAXIMUM_LENGTH = 100 | |
| validates :title, length: { maximum: TITLE_MAXIMUM_LENGTH } | |
| end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require 'spec_helper' | |
| describe do | |
| subject { Forgery(:basic).text } | |
| before do | |
| allow(Forgery::Basic).to receive(:text).and_return('mocked text') | |
| end | |
| it { should eq 'mocked text' } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| en: | |
| message: It is English |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 'Welcome to my DIRTY house.'.match(/(?<match>DIRTY)/)[:match] | |
| # => "DIRTY" |