MENU
Home
News
Tutorials
Blogs
Videos
Jobs
Conferences
Events
Books
Gems
Services
Other
About
Home
Categories
2199
today
Tutorials
Convert an ActiveRecord object into the fixture
Sometimes in your development environment, you might have created a valid active recordobject which you want to use as a fixture data in your test, so you.
Speed up and refactor your RSpec tests in 4 simple steps
Use shared examples, custom matchers, Rails transactional tests feature and lightweight factories to speed up your RSpec tests.
Check Your Database Indexes For ActiveRecord Scopes
Database indexes are always more important than you think.
JSONify your Ruby Translations
Mobility has a new backend for storing all your i18n model data in a single json or jsonb column.
Managing db schema changes without downtime
At Discourse we have always been huge fans of continuous deployment. Every commit we make heads to our continuous integration test suite. If all the tests pass (ui, unit, integration, smoke) we automatically deploy the latest version of our code t...
Do some browser detection with Ruby. Includes ActionController integration.
GitHub is where people build software. More than 27 million people use GitHub to discover, fork, and contribute to over 80 million projects.
Clean Architecture in Ruby
For the last 10 years we have built a lot of Rails applications and they’ve grown. The fact is that Rails is a web framework and its foundation is MVC. The MVC pattern was introduced by the.
Parallel testing by eileencodes
@tenderlove and I worked on this which adds parallel testing to Rails applications by default. New applications will have parallel testing enabled by default, and older applications can add it to their test helper:class ActiveSupport::TestCase pa...
Deduplicating Large Data With Rails
Say you want to store a relatively large document or body of text in your database but that large chunk of text is likely to be identical for thousands of new records. You’re faced with the possibility of storing gigabytes of duplicated data that ...
How to run Capybara feature specs with Selenium and headless Chrome
I’ve been using Capybara-WebKit for a long time but while switching from CircleCI 1.0 to CircleCI 2.0 I had some problems to use it on the CI. This triggered to try Chrome Headless with.
<
1
…
215
216
217
218
219
…
259
>
Visit our quiz
Categories
News
Tutorials
Blogs
Videos
Jobs
Conferences
Events
Books
Gems
Services
Other