Videos tagged with Ruby On Rails
Guard watches files and runs a command after a file is modified. This allows you to automatically run tests in the background, restart your development server, reload the browser, and more.
Railscasts #263: Client Side Validations
Showing validation errors inline as the user is filling out the form can lead to a better use experience. Learn how to do this using the Client Side Validations gem.
Railscasts #262: Trees with Ancestry
The Ancestry gem works like a tree but also allows us to fetch deeply nested messages in a single query. It provides a method to arrange them after fetching.
Railscasts #261: Testing JavaScript with Jasmine
Are you testing your JavaScript? Learn how to add specs using Jasmine. This episode also covers jQuery integration with jasmine-jquery.
Railscasts #260: Messaging with Faye
Faye is a subscription/publishing server which makes it easy to do push notifications within a Rails app.
Railscasts #259: Decent Exposure
The decent_exposure gem makes it convenient to share controller data with the view through methods instead of instance variables.
Railscasts #258: Token Fields
With the jQuery Tokeninput plugin it is easy to add an autocompleting list of entries for a many-to-many association.
Railscasts #257: Request Specs and Capybara
Request specs in RSpec are a great way to ensure the entire application stack is working properly. Here I also show how to use capybara with integrated JavaScript testing using Selenium.
Railscasts #256: I18n Backends
Internationalization is easy to add in Rails, but the YAML files can be difficult to manage. In this episode I show how to use Redis for managing the translations through a web interface.
Railscasts #255: Undo with Paper Trail
Undo and redo behavior is easy to add with a versioning gem such as Paper Trail. Learn how to add an undo link to any model's flash message.