homeASCIIcasts

Recent Episodes

  1. 415

    Upgrading to Rails 4 Other translations: Ja Tr

    With the release of Rails 4.0.0.rc1 it's time to try it out and report any bugs. Here we walk you through the steps to upgrade a Rails 3.2 application to Rails 4.

    Tags: rails-40

  2. 412

    Fast Rails Commands Other translations: Ja

    Rails commands, such as generators, migrations, and tests, have a tendency to be slow because they need to load the Rails app each time. Here we show three tools to make this faster: Zeus, Spring, and Commands.

    Tags: tools

  3. 409

    Active Model Serializers

    The ActiveModel::Serializers gem can help you build JSON APIs through serializer objects. This provides a dedicated place to fully customize the JSON output

    Tags: plugins apis

  4. 406

    Public Activity

    Learn how to easily add a user activity feed using the public_activity gem. Here we show both the default setup using model callbacks and a manual way to trigger activities.

    Tags: activerecord plugins

  5. 396

    Importing CSV and Excel Other translations: Ja

    Allow users to import records into the database by uploading a CSV or Excel document. Here we show how to use Roo to parse these files and present a solution for validations

    Tags: plugins

  6. 393

    Guest User Record

    Instead of presenting a sign up form to the user, consider creating a temporary guest record so the user can try out the application without filling in their information up front. They can then become a permanent member afterwards

    Tags: authentication

  7. 390

    Turbolinks Other translations: Ja

    Turbolinks can make your Rails app feel faster by using JavaScript to replace the page content when clicking a link. It will be default in new Rails 4.0 applications, but here we show how to use it in Rails 3 and mention some of the gotchas.

    Tags: performance ajax rails-40

  8. 387

    Cache Digests Other translations: Ja

    The cache_digests gem (also included in Rails 4) will automatically add a digest to the fragment cache key based on the template. If a template changes the cache will auto-expire but there are traps we need to watch out for.

    Tags: rails-40 performance caching

  9. 340

    DataTables

    DataTables makes it easy to convert a plain HTML table into one with pagination, sorting, and searching - all done with JavaScript and jQuery. Here we show how to set this up and use a Rails application as the data source.

    Tags: views ajax plugins

  10. 338

    Globalize3

    Rails has great internationalization (I18n) support making it easy to translate static text into other languages, but how do we translate database content? Learn how using Globalize 3 in this episode.

    Tags: plugins activerecord models

Sitemap | Terms