Articles of interest for Ruby on Rails
Displaying articles 476 - 500 of 5374 in totalArticle Sources
-
Migrating From jQuery to Vanilla Javascript
Without jQuery in Rails 5.1, we explore what it takes to convert your traditional jQuery code into vanilla Javascript methods
Published:
-
Bootstrap Framework and Ruby on Rails
Using Bootstrap in your application has become much more simple. Also learn to create some helper methods to make working with Bootstrap much easier.
Published:
-
iTunes Controller Code Review: Part 3
We do a code review of a script that let's you control your Mac and iTunes with commands that generate AppleScripts
Published:
-
iTunes Controller Code Review: Part 2
We do a code review of a script that let's you control your Mac and iTunes with commands that generate AppleScripts
Published:
-
iTunes Controller Code Review: Part 1
We do a code review of a script that let's you control your Mac and iTunes with commands that generate AppleScripts
Published:
-
Routing Partials
The routes file can grow to be unmaintainable and messy. Learn to keep things organized by extracting out blocks of routes into their own files.
Published:
-
Primer on Rails 5.1's new UJS library
Learn how the new Rails UJS library works and compares with the old version of jquery_ujs that it replaces
Published:
-
Mountable Engines
Mountable Engines are a great way to extract code into its own namespace and allow the code to be reused in other applications. Other popular gems that are mountable engines are Devise and Doorkeeper.
Published:
-
Using VueJS for Nested Forms in Rails: Part 2
Learn how to use VueJS as an alternative to Cocoon and other methods of building dynamic nested forms with Rails
Published:
-
Using VueJS for Nested Forms in Rails: Part 1
Learn how to use VueJS as an alternative to Cocoon and other methods of building dynamic nested forms with Rails
Published:
-
Counter Cache Associations
When displaying a count of records, this will generate extra SQL Queries. Learn how to reduce the number of SQL queries called with counter caching the number of associated records.
Published:
-
Using VueJS for Nested Forms in Rails: Part 1
Learn how to use VueJS as an alternative to Cocoon and other methods of building dynamic nested forms with Rails
Published:
-
Code Review: Run Number Refactoring
We do a code review and refactoring of an implementation of incremental run numbers for an application
Published:
-
Cropping Images with JCrop
Extend your image upload functionality with JCrop. Learn to redirect the user to a crop page once they have uploaded their image and save versions of the cropped images.
Published:
-
How to use Vue.js and Turbolinks together
Using Vue.js and Turbolinks together can be a little complex to wrap your head around at first. We not only dive into how this works but we take a look at the vue-turbolinks node module I made so that you can easily use the two together.
Published:
-
Javascript Select Form Fields with Chosen
Chosen is a jQuery plugin that makes long, unwieldy select boxes much more user-friendly. Learn how to use Chosen in a few different ways in this episode; Rails form builder and Simple Form.
Published:
-
Using Webpack in Rails with the Webpacker Gem
Let's take a look at using the Webpacker gem in Rails to implement an additional pipeline for building modern frontend Javascript alongside our Rails application using VueJS.
Published:
-
Drag and Drop with Interact.js
Using Interact.js to create draggable and droppable items in our view, we can use AJAX callbacks on events to interact with our Ruby on Rails application. Also, learn how to use Ruby Assets to manage our Javascript Libraries.
Published:
-
When Callbacks and Dependencies Are A Good Idea
Often times you hear people say using callbacks and adding dependencies are always bad. Life's not that simple and in this episode we explore when to use callbacks and when it makes sense to add gem dependencies to your app.
Published:
-
Page Specific Javascript in Ruby on Rails
Sometimes you may find yourself with an application that has javascript that needs to execute only on a specific page. This episode lays the foundation to easily manage page specific javascript.
Published:
-
Form Objects Design Pattern
See how you can use a form object to improve the way you implement custom and complex forms in Rails
Published:
-
Pagination with Kaminari
When displaying a significant number of records, it is often a basic functions in a web application is to paginate the records and load them as requested.
Published:
-
Select Or Create Field With Selectize.js
Select a record or create a new one for an association in a form using the Selectize.js library
Published:
-
Intro to Docker on Windows
Developing a Ruby on Rails application on Windows can be difficult, but doesn't have to be with Docker. Learn how to use Docker to create isolated containers and get them to talk with the Rails app and passed through to the local computer.
Published:
-
Fixing Counter Caches in the Paranoia Gem
A walk through of the process of fixing a popular gem and learning how ActiveRecord and the Paranoia gem works
Published: