Category Archives: Better Code

Welcome RubyMine 4.5 Beta!

Hello everyone, Summer is coming to its mid and the RubyMine release is on the threshold now. We’re glad to let you know that RubyMine 4.5 Beta is available for download. We’re very close to the moment of features freeze, but we still … Continue reading

Posted in Announcement, Better Code, Productivity | Tagged , , , , | 2 Comments

Next RubyMine Nire EAP: Rails Engines and Mongoid Support

Hello everyone, I’m glad to announce the next RubyMine Nire EAP build (118.614) is ready to try out. We have some new cool features I want to tell you about. Rails Engines Support Many of you might like and use … Continue reading

Posted in Announcement, Better Code, Cutting Edge, WhatsMining | Tagged , , , | 11 Comments

RubyMine 4.0 Beta is Available for Download!

Hello everyone, Many of you have asked us when RubyMine 4.0 would be released. Today we’re entering the home stretch! And we glad to announce the first beta version of RubyMine 4 that is available to download. So let me … Continue reading

Posted in Announcement, Better Code, Cutting Edge | Tagged , , , , | 12 Comments

What’s Mining: Inline Method Refactoring

Hello guys, RubyMine team recently was on New Year and Christmas holidays, less than a week has passed since our days off ended, however today we want to show you the new cool feature coming in 4.0 – inline method … Continue reading

Posted in Better Code, Feature, WhatsMining | Tagged , | 2 Comments

What’s Mining: Faster Code Modifications with “Unwrap”

RubyMine makes code editing agile and easy with code fragment surrounding actions. To choose one just hit Ctrl+Alt+T / Cmd+Opt+T and invoke “Surround With” panel: From the last EAP version RubyMine also supports code fragment unwrapping actions, inverting the ones … Continue reading

Posted in Better Code, Feature, WhatsMining | Tagged , | 1 Comment

What’s Mining: New Ruby Inspections for Better Code

Hello everyone, Writing a code that smells isn’t as terrible as it seems to be. But leaving an ugly code without changing it is much worse. Refactoring is one of the bases of development, and Ruby development is not an … Continue reading

Posted in Better Code, Feature, WhatsMining | Tagged , | 3 Comments

Fighting Code Smell in Ruby Code

Hello guys, Recently we’ve attended RuPy2011 conference in Poznan, Poland, where Dennis and I were giving a workshop Fighting Code Smell. During the workshop we were talking about existing tools for detecting ugly and potentially dangerous code. We discussed their differences, … Continue reading

Posted in Better Code, Events | 2 Comments

Project-wide code analysis and quick-fixes

We had wrote earlier that we do some of our RubyMine tests using Cucumber. Recently we’ve upgraded to a more recent version of Cucumber and stumbled into an incompatibility such as ‘Examples’ should be followed by a colon. Of course … Continue reading

Posted in Better Code, Feature, WhatsMining | Tagged , , | Leave a comment

Smarter introduce variable refactoring for Ruby

Do you use RubyMine’s introduce variable refactoring? You should, actually, as well as many other refactorings RubyMine offers. RubyMine 2.5 features an improved procedure for introducing variables, fields or constants. You no longer need to select the block you want … Continue reading

Posted in Better Code, Feature, WhatsMining | Tagged , | 1 Comment