分类
Develop http mysql ruby on rails

Run Docker Rails Application Which Can Access Mysql Running at same Host in Mac OS and Linux

Docker Mac Native has been released for a long time. It […]

分类
Develop ruby on rails

[Repost] The definition of nil, empty, blank and present in ruby on rails

分类
Develop ruby on rails

Formatting DateTime in Rails

There are some useful params with Time#to_s [14] pry(ma […]

分类
Develop ruby on rails

[Solved] Install Nokogiri on Yosemite with Ruby 2.1.3

Updated to Yosemite and got the following problem while […]

分类
Develop ruby on rails

Time Zone in Rails

Get All Time Zones Use ActiveSupport::TimeZone.all.each […]

分类
Develop ruby on rails

acts_as_paranoid Gem in Rails

https://github.com/goncalossilva/acts_as_paranoid This […]

分类
Develop ruby on rails

Rails Gem CanCan

CanCan https://github.com/ryanb/cancan 用来处理用户权限,可以制定规则来 […]

分类
Develop ruby on rails

Using VCR with WebMock in Rails Rspec Tests

If the application need interaction with another web se […]

分类
Develop ruby on rails

[Repost] Here Document in Ruby

This is repost from http://log.gmarik.info/2007/12/ruby […]

分类
Develop ruby on rails

STI of ActiveRecord in Rails

STI, Single Table Inheritance, supported by ActiveRecor […]

分类
Develop ruby on rails

Typhoeus : a gem for http requests in rails.

Typhoeus Single request request = Typhoeus::Request.new […]