martinciu.com

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

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...

The asset pipeline is one of Rails' two mechanisms how stylesheets, javascripts and images from your /assets folder are processed and delivered to the browser. Rails has a second pipeline...

...webpacker, which we will cover later. Learn Read Everything You Should Know About the Rails Asset Pipeline Read How to make your application assets cachable in Rails Read Managing vendor...

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...

robots.thoughtbot.com

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

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...

makandra dev
github.com

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

danhixon.github.com

...encounter the error message above when running cucumber, just execute... rm rerun.txt ...in the Rails directory. Or run... tests ...from the geordi gem. This will do the work for you...

rails.lighthouseapp.com

This is a bug in Rails 2.3.11 which will be fixed in a future maintenance release. Until then you can copy the attached initializer to config/initializers...

Selenium does not speak SSL because it uses WEBrick that doesn't. When you use Selenium for Cucumber scenarios that...

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...

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...

...even though the image data was stripped. # spec/support/vcr.rb VCR.configure do |config| config.cassette_library_dir = Rails.root.join('spec', 'vcr') config.hook_into :webmock config.filter_sensitive_data(' ') do Base64.strict_encode64("#{Rails.application.credentials.ollama_basic_auth_user...

...Rails.application.credentials.ollama_basic_auth_password!}") end config.ignore_localhost = true scrub_base64_images = lambda do |body| return body if body.blank? json = JSON.parse(body) if json.is_a?(Hash) && json['messages'].is_a?(Array...

...for storing time of day in the format hh:mm:ss, neither Ruby nor Rails themselves offer an elegant way to deal with day times. Time and DateTime both handle...

alfajango.com

We can now plug into every facet of the Rails jQuery UJS adapter, binding to custom events, and even customizing internal functions, without hacking or monkey-patching the rails.js file...

alfajango.com

Thanks to habits engrained by Rails 2’s link_to_remote and remote_form_for, we expect that Rails 3 would also handle the AJAX response for our remote links...

emphaticsolutions.com

In a great post about named routes in Rails, path vs. url, Viget Labs ponders which variant is best used. Most often we use foo_path, which when used in...

...Rails URL helpers will generate a relative path, where foo_url generates a full URL. In most cases the path makes most sense, but not always...

blog.peepcode.com

The Rails router has been written and rewritten at least four times2, including a recent rewrite for the upcoming Rails 3. The syntax is now more concise. But never mind...

blog.innerewut.de

...ve been made aware of people inside US Government organizations using my Ruby on Rails Security presentation as an excuse to limit Ruby on Rails adoption and projects inside those...

...ordered by ID because they need to be able to iterate in batches. Modern Rails will raise an error if you try order yourself. If you are on Rails...

...aware that find calls inside the block are implicitly scoped. This is fixed in Rails...

relishapp.com

...are verified. Note that this is enabled by default when you are using rspec-rails along with verifying doubles. So if you really need to verify some dynamically defined methods...