...work that runs on a schedule. You can explain what Active Job is: a Rails abstraction with a uniform interface over any queue implementation — and why you still need to...
...underlying tool for anything non-standard. You can set up a queue in a Rails app that has none: install GoodJob, configure it as the Active Job adapter, and put...
...editor that claims to be lighter and prettier than TinyMCE and CKEditor. Has some Rails integration, too...
...to make class_attribute behave like class_inheritable_attribte which no longer exists in Rails...
...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...
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...
Rails 4.0 introduced a helpful new method for ActiveRecord queries: where.not. It can make clunky queries easier to read...
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...
...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...
...you want to add behavior to some vendor tasks (such as those defined with Rails), this blog post will cover how to do that...
A small library to provide the Rails I18n translations in Javascript clients...
...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...
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...
Presentation about optimizing Ruby on Rails apps. From Nico Hagenburger (homify's lead frontend developer...
When ActiveRecord child objects are autosaved in Rails...
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...
...to be released when the block ends. Example: RSpec::Mocks.with_temporary_scope do allow(Rails).to receive(:env).and_return('production'.inquiry) puts Rails.env # prints "production" end puts Rails.env # prints...
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...
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...
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...
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...
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...
...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...