Articles of interest for Ruby on Rails
Displaying articles 426 - 450 of 479 in totalArticle Sources
-
Refactoring with the Null Object Pattern
Refactor and simplify your associations and views using Null Objects that let you remove conditionals and have more robust code
Published:
-
PDF Receipts
Learn how to add PDF receipts to your application so users can easily download receipts of their purchases
Published:
-
Using Ruby Service Objects To Refactor Your Rails Code
Learn how to refactor your Rails model callbacks into plain old ruby objects that help organize your code
Published:
-
Newsletter Sign Up Form with country_select
How to plan and build a newsletter sign up form
Published:
-
Handling Subdomains and Multitenancy From Scratch
Learn how to handle subdomains in your Rails application for multi-tenant applications
Published:
-
Multitenancy with the Apartment gem
Learn how to separate your application data into different accounts or companies
Published:
-
Refactoring CSV Uploads with ActiveModel::Model
Learn how to refactor our CSV upload form with ActiveModel::Model to create a tableless form object
Published:
-
CSV Upload Form to Import Records
Learn how to upload CSV files and import records from your Rails application
Published:
-
CSV Upload Form to Import Records
Learn how to upload CSV files and import records from your Rails application
Published:
-
Introduction to Importing from CSV
We take a look at the basics of using Ruby's CSV library to import data into your Rails application with a Rake task
Published:
-
ActiveSupport Concerns: Making a Soft Deletable module
An introduction to Ruby on Rails ActiveSupport concerns where we build a Soft Deletable module like the Paranoia gem
Published:
-
Soft Delete with Paranoia
Learn how to soft delete records instead of deleting them permanently from your database
Published:
-
Fragment Caching And oEmbed
Learn how oEmbed works to dynamically grab embed codes from a URL and how we can use fragment caching to make this more efficient
Published:
-
Refactoring Controller Methods
Learn how to refactor a complex controller with a bunch of methods into a much cleaner set of code
Published:
-
Upload Progress with Refile Javascript
Add background uploads and progress easily with Refile's JS library
Published:
-
File Uploads with Refile
Learn how to upload files with the newest file upload library on the block: Refile
Published:
-
Comments With Polymorphic Associations
Learn how to set up polymorphic associations, add comments to your app, and think about the structure of your Rails application
Published:
-
API Tokens with Devise Token Authenticatable
Learn how to create simple API tokens for authentication with Devise
Published:
-
Forms With Multiple Submit Buttons
Learn how to create forms with multiple submit buttons
Published:
-
Sign In With Twitter using Omniauth and the Twitter gem
Learn how to use Omniauth And omniauth-twitter to let your users authorize and connect to the Twitter API using their Twitter account with your Rails app
Published:
-
Markdown and Emoji with the html-pipeline gem
Learn how to format text in Markdown using the html-pipeline gem
Published:
-
Forum Series Part 7: Time Zones using the local_time Gem
A look into times, timezones, and how to handle it better with javascript
Published:
-
Forum Series Part 5: Email Notifications with Rails 4.2, deliver_later, and Previews
Learn how to send email notifications to users with Rails 4.2 ActionMailer, deliver_later, and email previews
Published: