homeASCIIcasts

Episodes tagged with “plugins”

  1. 296

    Mercury Editor

    Mercury allows you to edit a section of HTML directly in the web browser through a WISYIWYG editor. Here we show how to integrate Mercury into a Rails app and save the changes back to the database.

    Tags: plugins views

  2. 294

    Playing With PJAX

    PJAX allows you to quickly update a section of a page using AJAX with automatic pushState support. Here we show how to use both pjax_rails and rack-pjax gems.

    Tags: ajax plugins

  3. 290

    SOAP With Savon

    Communicating with a SOAP API can be a daunting task. Savon makes this easier by presenting the SOAP API through a Ruby interface.

    Tags: plugins

  4. 286

    Draper Other translations: Ja Ru

    Clean up complex view logic using Draper. This gem provides decorators (much like presenters) which bundles view logic in an object oriented fashion. In this episode we do a step-by-step refactoring of a complex template into a decorator.

    Tags: views plugins refactoring

  5. 285

    Spork Other translations: Es Ja

    Spork improves the loading time of your test suite by starting up your Rails application once in the background. Use it with Guard for the ultimate combo in fast feedback while doing TDD.

    Tags: testing plugins tools

  6. 284

    Active Admin Other translations: Ja Es Fr Ru

    Active Admin allows you to quickly build an admin interface with just a few commands. Not only does it look great, but it is very customizable as shown in this episode.

    Tags: administration plugins

  7. 283

    Authentication With Sorcery Other translations: Ja Fr Es

    Sorcery is a full-featured, modular solution to authentication which leaves the controller and view layers up to you.

    Tags: authentication plugins

  8. 280

    Pry With Rails Other translations: Pl Ja Es Fr

    Pry is an alternative to IRB and sports many great features. Here we show how to integrate it into a Rails app, and how it can aid in debugging.

    Tags: plugins tools

  9. 278

    Search With Sunspot Other translations: Ja Es Fr

    Sunspot makes it easy to do full text searching through Solr. In this episode we show how to search on various attributes and add facets for filtering the search further.

    Tags: plugins

  10. 276

    Testing Time & Web Requests Other translations: Es Fr Ja

    It can be difficult to test code that deals with the current time or an external web request. Here we show you how to do both using the Timecop and FakeWeb gems.

    Tags: testing plugins

  11. 273

    Geocoder Other translations: Fr Es Ja Ru

    If you need to work with geographic data, Geocoder is an excellent gem for converting addresses and coordinates, finding nearby locations, determining distances, and more!

    Tags: plugins

  12. 272

    Markdown with Redcarpet Other translations: Es Fr Ja

    Redcarpet is an easy-to-use gem which interprets Markdown. In this episode we show how to customize it and add syntax highlighting through Pygments and Albino.

    Tags: plugins views

  13. 271

    Resque Other translations: Es Ja Fr

    Resque creates background jobs using Redis. It supports multiple queue and comes with an administration interface for monitoring and managing the queues.

    Tags: plugins background-jobs

  14. 263

    Client-side Validations Other translations: Ja Es

    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.

    Tags: plugins forms

  15. 262

    Trees With Ancestry Other translations: Ja Es

    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.

    Tags: plugins

  16. 261

    Testing JavaScript with Jasmine Other translations: Ja Es

    Are you testing your JavaScript? Learn how to add specs using Jasmine. This episode also covers jQuery integration with jasmine-jquery.

    Tags: testing plugins

  17. 260

    Messaging With Faye Other translations: Ja Es

    Faye is a subscription/publishing server which makes it easy to do push notifications within a Rails app.

    Tags: plugins

  18. 259

    Decent Exposure Other translations: Ja Es

    he decent_exposure gem makes it convenient to share controller data with the view through methods instead of instance variables.

    Tags: plugins controllers views

  19. 258

    Token Fields Other translations: Ja Es

    With the jQuery Tokeninput plugin it is easy to add an autocompleting list of entries for a many-to-many association.

    Tags: forms ajax plugins

  20. 257

    Request Specs and Capybara Other translations: Ja Es

    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.

    Tags: testing plugins rails-30

  21. 255

    Undo With PaperTrail Other translations: Ja Es

    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.

    Tags: plugins

  22. 254

    Pagination with Kaminari Other translations: Ja Es

    If you need pagination in Rails 3 try out Kaminari. It is a clean, flexible solution which uses scopes to flow nicely with Active Record queries.

    Tags: plugins rails-30

  23. 253

    CarrierWave File Uploads Other translations: Ja Es

    CarrierWave makes it easy and clean to add file uploads to your application. It supports a variety of ORMs, frameworks and image processors.

    Tags: plugins

  24. 251

    MetaWhere & MetaSearch Other translations: Ja Es

    MetaWhere provides a way to do complex find conditions without SQL in Active Record. MetaSearch makes it easy to create search forms with many find options.

    Tags: rails-3.0 plugins active-record forms search

  25. 248

    Offline Apps Part 2 Other translations: Es

    Learn how to make a site usable offline with HTML 5 localStorage. This last part of the series covers jquery-tmpl and jquery-offline.

    Tags: plugins ajax

  26. 247

    Offline Apps Part 1 Other translations: Es

    Learn how to make a site usable offline through an HTML 5 cache manifest. This first part of the series covers rack-offline and problems you may run into.

    Tags: plugins

  27. 243

    Beanstalkd and Stalker Other translations: Pt Es

    Beanstalk is a fast and easy way to queue background tasks. Stalker provides a nice wrapper interface for creating these jobs.

    Tags: plugins background-jobs

  28. 241

    Simple OmniAuth Other translations: Es Ja

    OmniAuth makes it easy to add authentication if you don't need username/password or multiple authentications per user.

    Tags: authentication plugins

  29. 238

    Mongoid Other translations: Es Pt

    Mongoid is a polished, high-level Ruby gem for accessing MongoDB. Here we cover installation, adding fields, validations, associations, and keys.

    Tags: models plugins

  30. 236

    OmniAuth Part 2 Other translations: Es

    In this episode we continue our look at integrating OmniAuth with devise.This time we show how to set up new users with validations.

    Tags: authentications plugins

  31. 235

    OmniAuth Part 1 Other translations: Es It

    OmniAuth is an easy way to add many different authentication services to your app. In this episode we start integrating it with Devise.

    Tags: authentications plugins

  32. 234

    Simple Form Other translations: Pt Es It

    Simple Form is a convenient way to generate forms with many options to customize the generated markup.

    Tags: forms plugins

  33. 233

    Engage With Devise Other translations: It Es Fr

    Janrain Engage (aka RPX) makes it easy to support many authentication solutions through one service.

    Tags: authentication plugins

  34. 230

    Inherited Resources Other translations: It Es

    Inherited Resource simplifies RESTful controllers by providing default actions which can be customized through inheritance.

    Tags: plugins controllers

  35. 227

    Upgrading to Rails 3 Part 3 Other translations: It Pt Es

    In this episode we finish up this upgrade series by removing all deprecation warnings and fixing some problems in the view.

    Tags: rails-30 plugins

  36. 226

    Upgrading to Rails 3 Part 2 Other translations: Pt It Es

    Here we continue upgrading an application to Rails 3 by getting our specs up and running and going through the rails_upgrade plugin.

    Tags: rails-30 plugins

  37. 225

    Upgrading to Rails 3 Part 1 Other translations: Pt It Es

    In the first part of this series on upgrading a Rails 2 application to Rails 3, we'll start off by setting up Rails 3.0 Release Candidate in a clean environment. The rails_upgrade plugin will then help us determine what needs upgrading.

    Tags: rails-30 plugins

  38. 220

    PDFkit Other translations: It Es

    Generating PDFs in plain Ruby can be a lot of work. Instead, consider generating PDFs from HTML using PDFKit.

    Tags: plugins views

  39. 216

    Generators in Rails 3 Other translations: It Es

    Generators in Rails 3 have been completely rewritten to be more modular. This allows you to customize any generator to fit your specific preferences.

    Tags: rails-30 plugins

  40. 214

    A/B Testing with A/Bingo Other translations: Es It

    A/B Testing (or Split Testing) is a way to experiment with variations in an application to see the most effective option.

    Tags: plugins views

  41. 213

    Calendars Other translations: Es It

    If dates play an important role in your application, consider adding a date picker or calendar view as shown in this episode.

    Tags: plugins views forms

  42. 210

    Customizing Devise Other translations: Es It Cn Ja

    In this episode we continue looking at devise with a focus on customizing its views, routing and validations.

    Tags: rails-30 plugins authentication

  43. 209

    Introducing Devise Other translations: Es It Cn Ja

    Devise is a full-featured authentication solution which handles all of the controller logic and form views for you. Learn how to set it up in this episode.

    Tags: authentication plugins rails-30

  44. 207

    Syntax Highighting Other translations: Cn Es It

    Three popular choices for syntax highlighting in Rails applications are discussed in this episode: CodeRay, Ultraviolets and Pygments.

    Tags: views plugins

  45. 201

    Bundler Other translations: Es Cn De It Fr

    Bundler is the way to manage gem dependencies in Rails 3.0. Learn how to install gems and lock them down in this episode.

    Tags: rails-30 plugins

  46. 199

    Mobile Devices Other translations: Es Fr It

    In this episode we change the look and behavior of a Rails app on mobile devices and use jQTouch to build a native-looking interface.

    Tags: views controllers plugins

  47. 194

    MongoDB and MongoMapper Other translations: Pt Es Cn It

    MongoDB is a document-based database engine. Learn how to use it in Rails application with Mongomapper in this episode.

    Tags: models plugins

  48. 192

    Authorization with CanCan Other translations: Es It Pt

    CanCan is a simple authorization plugin that offers a lot of flexibility. Find out how to use it in this episode.

    Tags: authorization plugins

  49. 188

    Declarative Authorization Other translations: Cn Es

    Declarative authorization provides an advanced and powerful solution for role-based authorization

    Tags: administration authorization plugins

  50. 186

    Pickle With Cucumber

    Pickle adds a number of convenient Cucumber steps for generating models. Learn how to use Cucumber's table diffs as well.

    Tags: testing plugins

  51. 185

    Formtastic Part 2 Other translations: Tr Es

    In this episode we cover some of Formtastic's more advanced features, including its handling of many-to-many relationships, required fields and styling.

    Tags: forms views plugins

  52. 184

    Formtastic Part 1 Other translations: Tr Es

    Formtastic provides a concise way to generate form views. In the first part of this two-part series we use it to generate a simple form and a more complex, customised one.

    Tags: forms plugins views

  53. 182

    Cropping Images Other translations: Cn

    In this episode we create a slick user interface for cropping images using Paperclip and JCrop.

    Tags: plugins

  54. 135

    Making a Gem

    Gems are now a more popular way of extending Rails than plugins. In this episode we go through the steps needed to create a basic gem.

    Tags: plugins active-record tools

  55. 180

    Finding Unused CSS Other translations: Cn It

    As websites change stylesheets can become filled with unused selectors. The Deadweight gem helps to determine which ones can be removed.

    Tags: plugins

  56. 177

    Model Versioning Other translations: Cn

    If you need to keep track of the changes to an ActiveRecord model and switch between versions the Vestal Versions gem is well worth considering.

    Tags: active-record plugins

  57. 33

    Making a Plugin Other translations: It

    Duplication can often be removed from your Ruby code by making methods dynamically. In this episode we make a plugin to do just that.

    Tags: active-record plugins

  58. 176

    Searchlogic

    Searchlogic uses named scopes to make searching against models simple. See how to create simple and more complex searches in this episode.

    Tags: active-record plugins

  59. 175

    AJAX History and Bookmarks Other translations: Cn

    AJAX-enabled sites do not usually play well with bookmarking or the brower's page history. In this episode we fix that with a simple jQuery plugin.

    Tags: ajax plugins

  60. 173

    Screen Scraping With ScrAPI

    Screen scraping is sometimes the only way to get data from another website. This episode uses scrAPI to fetch prices from another site.

    Tags: plugins

  61. 171

    Delayed Job Other translations: Cn

    The delayed_job plugin provides an excellent way of getting long running tasks running in the background.

    Tags: plugins

  62. 170

    OpenID With Authlogic

    This episode extends the appication built in episode 160 and shows how to add OpenID support to a Ralis application that uses Authlogic.

    Tags: authentication plugins

  63. 168

    Feed Parsing Other translations: Cn

    In this episode we use two different techniques to parse an RSS feed with Feedzirra.

    Tags: plugins active-record

  64. 164

    Cron in Ruby

    Cron does a great job of handling recurring tasks, but the syntax is a little tricky. This episode shows you how to use Whenever to write cron jobs in Ruby instead.

    Tags: tools plugins

  65. 162

    Tree Based Navigation

    The acts_as_tree plugin provides a good solution for handling a tree-based navigation. In this episode we build a navigation system with menus, subpages and a breadcrumb control.

    Tags: active-record plugins

  66. 160

    Authlogic Other translations: Es

    Authentication can become very complex. This episode shows how to use Authlogic to handle this complexity while keeping control over what is presented to the user.

    Tags: authentication plugins

  67. 156

    Webrat

    Using Webrat allows you to write integration tests in Ruby, rather than in English as you would with Cucumber.

    Tags: testing tools plugins

  68. 134

    Paperclip Other translations: Cn It Pl

    Paperclip makes it easy to add attachments to a model. Find out how in this episode.

    Tags: plugins

  69. 155

    Beginning With Cucumber Other translations: Cn

    Cucumber is a testing framework that lets you develop with Behaviour-Driven Development. We develop a new application using BDD in this episode.

    Tags: testing tools plugins

  70. 153

    PDFs With Prawn

    With Prawn and Prawnto you can easily generate PDF files in your Rails application.

    Tags: plugins

  71. 149

    Rails Engines Other translations: De

    Rails 2.3 has most of the Rails Engine plugin built in. Find out how to embed one application into another.

    Tags: rails-23 plugins

  72. 147

    Sortable Lists

    Find out how to create a drag and drop list using prototype and one of Rails’ helper methods.

    Tags: active-record plugins ajax routing