28 Apr '13, 9am

@mdaisuke

def start url = "#{options[:SSLEnable] ? 'https' : 'http'}://#{options[:Host]}:#{options[:Port]}" puts "=> Booting #{ActiveSupport::Inflector.demodulize(server)}" puts "=> Rails #{Rails.version} application starting in #{Rails.env} on #{url}" puts "=> Run `rails server -h` for more startup options" trap(:INT) { exit } puts "=> Ctrl-C to shutdown server" unless options[:daemonize] #Create required tmp directories if not found %w(cache pids sessions sockets).each do |dir_to_make| FileUtils.mkdir_p(Rails.root.join('tmp', dir_to_make)) end unless options[:daemonize] wrapped_app # touch the app so the logger is set up console = ActiveSupport::Logger.new($stdout) console.formatter = Rails.logger.formatter Rails.logger.extend(ActiveSupport::Logger.broadcast(console)) end super ensure # The '-h' option calls exit before @options is set. # If we call 'options' with it unset, we get...

Full article: http://edgeguides.rubyonrails.org/initialization.html

Tweets

Since Rails 4.0's release is imminent, here's t...

edgeguides.rubyonrails.org 02 May '13, 2am

The best way to be sure that your application still works after upgrading is to have good test coverage before you start t...

How I learned to #test my #Rails applications, ...

everydayrails.com 27 Apr '13, 2pm

That said, early Rails books and tutorials focused more on speed (build a blog in 15 minutes!) than on good practices like...

#Rails documentation tools

everydayrails.com 25 Apr '13, 8am

If you’ve been using Reek to help in refactoring your Rails applications , you might run across warnings of Irresponsible ...

BLAWG FLASH: Guide to the Postal Voting Process...

loyarburok.com 27 Apr '13, 2pm

hasilox : Sudah sampai masanya kita lihat dengan lebih teliti akan penjaja hudud yang paling bising pada masa ini,... prou...

Everyday Rails Testing with RSpec: Updates for ...

everydayrails.com 25 Apr '13, 2am

Everyday Rails Testing with RSpec: Updates for April, 2013 April 24, 2013 Last week I released another round of updates to...

Ping, Golf equipment: The evolution of the fitt...

golfweek.com 22 Apr '13, 8pm

Few equipment manufacturers, if any, are as closely linked to custom fitting as Ping Golf. Founded in 1959 by Karsten Solh...

Diary of a Rails rescue project, part 2: Testin...

everydayrails.com 16 Apr '13, 4pm

Diary of a Rails rescue project, part 2: Testing April 16, 2013 As mentioned previously , I’ve been spending spare cycles ...

Instrumenting Ruby on Rails with TraceView in u...

rubyflow.com 24 Apr '13, 2pm

Instrumenting Ruby on Rails with TraceView in under 10 minutes Posted by pglombardo on April 23, 2013 — 0 comments Setting...

What's New in Edge Rails #65

afreshcup.com 22 Apr '13, 12pm

is Mike Gunderloy's software development weblog, covering Ruby on Rails and whatever else I find interesting in the univer...

Our @DavidDusek sits down with @PingTour's John...

golfweek.com 19 Apr '13, 2pm

Few equipment manufacturers, if any, are as closely linked to custom fitting as Ping Golf. Founded in 1959 by Karsten Solh...

Cool trick for leveraging the DNS and proxy pow...

robots.thoughtbot.com 21 Apr '13, 6am

January 9, 2013 dancroak dns unix http Foreman as process manager, Pow as DNS server and HTTP proxy Web app development/pr...

Double Shot #1117: Flinto – Prototyping tool fo...

afreshcup.com 29 Apr '13, 12pm

is Mike Gunderloy's software development weblog, covering Ruby on Rails and whatever else I find interesting in the univer...

Double Shot #1120

afreshcup.com 02 May '13, 12pm

Thursday, May 2, 2013 at 5:47AM Interactive mruby - irb running in your browser. Rails 4.0: Release Candidate 1 released! ...

NowBrowsing: Test::Unit と RSpec と Shoulda - Rai...

oiax.jp 18 Apr '13, 2am

昨日の記事 続・Rails 3.x 時代のテストフレームワーク では、Rails で使用できるテストフレームワークの基礎知識と相互関係についてまとめました。 今日は、Test::Unit と RSpec と Shoulda を具体的に比較してみ...