22 Mar '13, 10pm

has_many :bugs, :through => :rails

has_many :bugs, :through => :rails Using ruby-debug with Pow Published over 1 year ago After moving to Sam Stephenson’s awesome Pow , not being able to use ruby-debug was the primary obstacle I had adjusting to my new development environment. But as it turns out, it’s very simple to use ruby-debug with Pow . Make sure you have ruby-debug in your Gemfile . gem ' ruby-debug19 ' # 'ruby-debug' if using Ruby 1.8 Add the following to the bottom of your application’s development.rb config file: unless $rails_rake_task require ' ruby-debug ' Debugger .settings[:autoeval ] = true Debugger .settings[:autolist ] = 1 Debugger .settings[:reload_source_on_change ] = true Debugger .start_remote end This will start a debugger server. Restart Pow and connect to your debugger server from a terminal: [lifo@null ~]$ rdebug -c Connected. You should now see a ruby-debug console whenever the ap...

Full article: http://m.onkey.org/using-ruby-debug-with-pow

Tweets

Using ElasticSearch with Ruby

rubyflow.com 22 Mar '13, 11am

Using ElasticSearch with Ruby Posted by codegram on March 22, 2013 — 0 comments We just published the slides from the usin...

Tips for writing your own #Rails engine Old post, good ideas.

Tips for writing your own #Rails engine Old pos...

robots.thoughtbot.com 22 Mar '13, 2pm

Tips for writing your own Rails engine While converting Clearance to a Rails engine was easy, once we were there, we found...

[Rails]migrationで複数のALTER文を1回にまとめる方法 / “has_man...

m.onkey.org 27 Mar '13, 2am

Bulk ALTER TABLE with Rails 3 and MySQL Published about 2 years ago With this commit , Rails migrations will support addin...

Best IDEs for Ruby on Rails - Ruby Forum

ruby-forum.com 22 Mar '13, 4am

On 16 March 2013 04:40, Jason Hsu, Android developer <[email protected]> wrote: > What are your favorite IDEs for Ruby ...

Batches#find_in_batches - When dealing with has...

apidock.com 27 Mar '13, 7pm

You can control the starting point for the batch processing by supplying the :start option. This is especially useful if y...

Diary of a Rails rescue project

everydayrails.com 22 Mar '13, 4am

Rescue projects are unique challenges. Chances are, you’re working with someone else’s code. (Or maybe you’re working with...