Tumblr API | register an applicationのcallback URL
> == > Downloading http://redis.googlecode.com/files/redis-2.6.7.tar.gz > Already downloaded: /Library/Caches/Homebrew/redis-2.6.7.tar.gz > == > make -C /private/tmp/redis-KHTm/redis-2.6.7/src CC = cc > == > Caveats > You should reload redis: > launchctl unload ~/Library/LaunchAgents/...
webmockとvcrを利用してHTTPのmockを作成する | Act as Professional - hiroki.jp
@products = Product . search ( :name_and_maker => "hoge" ) . result #=> SELECT `products`.* FROM `products` WHERE (`products`.`name` LIKE 'hoge%' AND `products`.`maker` LIKE 'hoge%') @products = Product . search ( :name_or_maker => "hoge" ) . result #=> SELECT `products`.* FROM `produ...
model/product.rb model/product/computer.rb model/product/smart_phone.rb
class Message < ActionMailer::Base # デフォルトでの送信元のアドレス default from: "[email protected]"
rails g bootstrap:layout application fluid rails g bootstrap:install rm -rf app/views/layouts/application.html.erb
CFURLCreateStringByReplacingPercentEscapesUsingEncoding
Please enable JavaScript to view the
%w[ rubygems pp logger] .each do |gem| begin require gem rescue LoadError end end Pry.config.editor = "mate -w" # Default Command Set, add custom methods here: default_command_set = Pry::CommandSet.new do command "copy" , "Copy argument to the clip-board" do |str| IO.popen( 'pbcopy' ,...
# Slightly dirty hack to fully support in-session Hirb.disable/enable toggling Hirb::View.instance_eval do def enable_output_method @output_method = true @old_print = Pry.config.print Pry.config.print = proc do |output, value| Hirb::View.view_or_page_output( value) || @old_print.call(...
heroku addons:add mongolab:starter heroku addons:add sendgrid:starter heroku config:add HEROKU = true heroku config:add ERRBIT_HOST = some-hostname.example.com heroku config:add ERRBIT_EMAIL_FROM = [email protected]
Please enable JavaScript to view the
Mobylette iPhone/iPad/Android/iOSを判定、Viewを切り替えるGem[Rails]
set :whenever_command, "bundle exec whenever" set :whenever_environment, defer { rails_env } #### SERVER_IPとSSH_PORTをセット #### set :whenever_roles, defer { "SERVER_IP:SSH_PORT" }
About Me Mori Zyun (@zyunnosuke ) Ruby on Rails や Webサービスに関するブログです GitHub Repos Status updating... @morizyun on GitHub Latest Tweets Status updating... Follow @zyunnosuke Recent Posts さくらVPS/CentOS 6.3にRailsサーバを構築する手順をまとめました![Ruby] コスパ最強なRailsサーバを妄想してみる[VPS/PaaS/クラウド] さくらVPS/Cent OS 6...
Railsのデバックが捗るエラー画面 Better Errors 使ってみた! Mountain Lion Rails 最新環境 詳解 構築手順 [Homebrew][MySQL][rvm][Pow][Ruby] 無料のロゴ生成サービス「FREE LOGO CREATOR」、クオリティ高! RSpecでprivate(プライベート)メソッドをテストする[Ruby][Rails] Ruby 1.9.3 デザインパターン速攻習得 アブストラクトファクトリ[Abstract Factory][Design Pattern]
About Me Mori Zyun (@zyunnosuke ) Ruby on Rails や Webサービスに関するブログです GitHub Repos Status updating... @morizyun on GitHub Latest Tweets Status updating... Follow @zyunnosuke Recent Posts 無料のロゴ生成サービス「FREE LOGO CREATOR」、クオリティ高! RSpecでprivate(プライベート)メソッドをテストする[Ruby][Rails] Ruby 1.9.3 デザインパタ...
> + sitemap1.xml.gz 1 links > / 340 Bytes > + sitemap_index.xml.gz 1 sitemaps > / 241 Bytes > Sitemap stats: 1 links / 1 sitemaps / 0m00s
About Me Mori Zyun (@zyunnosuke ) Ruby on Rails や Webサービスに関するブログです GitHub Repos Status updating... @morizyun on GitHub Latest Tweets Status updating... Follow @zyunnosuke Recent Posts Ruby 1.9.3で学ぶ、13個のデザインパターンを作りました[GoF][Design Pattern] Ruby 1.9.3 デザインパターン速攻習得 インタープリタ[Interpreter][De...
About Me Mori Zyun (@zyunnosuke ) Ruby on Rails や Webサービスに関するブログです GitHub Repos Status updating... @morizyun on GitHub Latest Tweets Status updating... Follow @zyunnosuke Recent Posts Rails 3.2.9/Bootstrap/Bootswatchで「どうぶつの森 QRコードまとめ」作ってみた! Bootsrapでモーダル表示 HTML/HAMLテンプレート GitHubの.giti...
== expected ○ actual == expected =~ /expression/ ○ actual =~ /expression/ be > expected ○ actual > expected be >= expected ○ actual >= expected be <= expected ○ actual <= expected be < expected ○ actual < expected be(expected) ○ actual.equal?(expected) be_a_kind_of(expected) ○ actual....
DocumentRoot /crownd/project/ruby/example.com/public RailsEnv development PassengerEnabled on RemoveHandler .cgi .php <Directory "/crownd/project/ruby/matome-ranking.com/public" > order deny,allow deny from all allow from localhost 127.0.0.1