stackoverflow.com

...but does not break on empty arrays. Note that try is provided by ActiveSupport (Rails). You could explicitly load activesupport or use andand on plain Ruby...

...method and must have that CONSTANT there. Master mode is for you. Master mode (Rails 2) Put the attached file into your spec directory, then merge these lines into your...

...constant "CRAWL_SUBPAGES", false.\ Note: the constant must be given as String. Master mode (Rails 3) In Rails 3 applications you should prefer to set configuration options in Rails.configuration, which...

If you specify different ports, you can run multiple local webricks with rails server --port=300X at the same time...

...that is set to true when in test mode: class ExampleController < BaseController SKIP_CAPTCHA = Rails.env.test? ... Next, depend activation of that feature on the value of that constant: private

github.com

...Minidusen, which extracts those parts from Dusen. Minidusen is compatible with MySQL, PostgreSQL and Rails 3.2, 4.2 and 5.0. If you are looking for a full text indexing solution, we...

makandra dev
stackoverflow.com

...your working directory that you cannot remove by either checkout, reset [--hard], stash, probably Rails' Spring is the culprit and not Bundler itself. Fix spring stop The author of the...

github.com

...for old IEs. Unfortunately, their auto-loading mechanism may not work properly on your Rails application due to the asset pipeline. They use FileAPI, so you could just include it...

...Always convert to a symbol, otherwise you'll have all kinds of fun. Newer rails / activerecord (at least 5.2) will throw an association names must be a Symbol (ArgumentError) error...

makandra dev

assignable_values now supports Rails 4.1 and Ruby...

makandra dev
robots.thoughtbot.com

The Rails community has been abuzz with object-oriented programming, SOLID principles, laws, design patterns, and other principles, practices, and patterns. We’ve (re)discovered new tools and techniques to...

speakerdeck.com

Presentation about optimizing Ruby on Rails apps. From Nico Hagenburger (homify's lead frontend developer...

makandra dev
gist.github.com

When ActiveRecord child objects are autosaved in Rails...

makandra dev
databound.me

Databound provides Javascript a simple API to the Ruby on Rails CRUD. Tries to expose a full model CRUD as an API. Not sure if this is useful for more...

makandra dev
github.com

Now supports Rails 4.1 and Ruby...

makandra dev
robots.thoughtbot.com

Rails 4.0 introduced a helpful new method for ActiveRecord queries: where.not. It can make clunky queries easier to read...

makandra dev
github.com

Chrome extension that shows all info from your rails log (like parameters, response times, view rendering times, DB requests) inside a chrome panel...

makandra dev
imperavi.com

...editor that claims to be lighter and prettier than TinyMCE and CKEditor. Has some Rails integration, too...

elmcitycraftworks.org

I’ve worked on huge applications in Ruby and Rails before. I very much want to believe in DCI, but I’m having a hard time accepting the promises of...

blog.jetbrains.com

...and syntax highlighting were submitted as a feedback for RubyMine 4.5. Web development with Rails can’t do without Sass/SCSS code writing so we’ve decided to fix the most...

dan-manges.com

...you want to add behavior to some vendor tasks (such as those defined with Rails), this blog post will cover how to do that...

martinciu.com

...to make class_attribute behave like class_inheritable_attribte which no longer exists in Rails...

objectmentor.com

What you can do today. Example AOP-isms in Ruby on Rails. Aspect-Oriented Design. The AOP Promise for Tomorrow...

makandra dev
github.com

A small library to provide the Rails I18n translations in Javascript clients...

makandracards.com

...for aggregated RSpec/Cucumber coverage was overhauled extensively. Among other things it now works for Rails 2 and 3 and has an option to ignore shared traits...