RailsCasts http://railscasts.com Every other week you will be treated to a new, free RailsCasts episode featuring tips and tricks with Ruby on Rails, the popular web development framework. These screencasts are short and focus on one technique so you can quickly move on to applying it to your own project. The topics are geared toward the intermediate Rails developer, but beginners and experts will get something out of it as well. A Pro option is also available containing more screencasts each week. This is the full resolution version, a lower reoslution for mobile devices is also available. en 2013年6月16日 00:00:00 -0700 2013年6月16日 00:00:00 -0700 Ryan Bates rails, ruby on rails, screencasts, podcasts, tips, tricks, tutorials, training, programming, railscast clean Ryan Bates ryan@railscasts.com no #417 Foundation ZURB's Foundation is a front-end for quickly building applications and prototypes. It is similar to Twitter Bootstrap but uses Sass instead of LESS. Here you will learn the basics of the grid system, navigation, tooltips and more. 2013年6月16日 00:00:00 -0700 http://railscasts.com/episodes/417-foundation foundation Ryan Bates ZURB's Foundation is a front-end for quickly building applications and prototypes. It is similar to Twitter Bootstrap but uses Sass instead of LESS... ZURB's Foundation is a front-end for quickly building applications and prototypes. It is similar to Twitter Bootstrap but uses Sass instead of LESS. Here you will learn the basics of the grid system, navigation, tooltips and more. no 11:06 #415 Upgrading to Rails 4 With the release of Rails 4.0.0.rc1 it's time to try it out and report any bugs. Here I walk you through the steps to upgrade a Rails 3.2 application to Rails 4. 2013年5月06日 00:00:00 -0700 http://railscasts.com/episodes/415-upgrading-to-rails-4 upgrading-to-rails-4 Ryan Bates With the release of Rails 4.0.0.rc1 it's time to try it out and report any bugs. Here I walk you through the steps to upgrade a Rails 3.2 applicati... With the release of Rails 4.0.0.rc1 it's time to try it out and report any bugs. Here I walk you through the steps to upgrade a Rails 3.2 application to Rails 4. no 12:44 #412 Fast Rails Commands 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 I show three tools to make this faster: Zeus, Spring, and Commands. 2013年4月04日 00:00:00 -0700 http://railscasts.com/episodes/412-fast-rails-commands fast-rails-commands Ryan Bates 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 I sho... 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 I show three tools to make this faster: Zeus, Spring, and Commands. no 8:06 #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. 2013年3月09日 00:00:00 -0800 http://railscasts.com/episodes/409-active-model-serializers active-model-serializers Ryan Bates The ActiveModel::Serializers gem can help you build JSON APIs through serializer objects. This provides a dedicated place to fully customize the JS... The ActiveModel::Serializers gem can help you build JSON APIs through serializer objects. This provides a dedicated place to fully customize the JSON output. no 10:58 #406 Public Activity Learn how to easily add a user activity feed using the public_activity gem. Here I show both the default setup using model callbacks and a manual way to trigger activities. 2013年2月13日 00:00:00 -0800 http://railscasts.com/episodes/406-public-activity public-activity Ryan Bates Learn how to easily add a user activity feed using the public_activity gem. Here I show both the default setup using model callbacks and a manual w... Learn how to easily add a user activity feed using the public_activity gem. Here I show both the default setup using model callbacks and a manual way to trigger activities. no 10:59 #402 Better Errors & RailsPanel Here we take a look at two tools to aid us in development: Better Errors which makes it easier than ever to debug exceptions, and RailsPanel, a Chrome extension to see Rails requests. 2013年1月25日 00:00:00 -0800 http://railscasts.com/episodes/402-better-errors-railspanel better-errors-railspanel Ryan Bates Here we take a look at two tools to aid us in development: Better Errors which makes it easier than ever to debug exceptions, and RailsPanel, a Chr... Here we take a look at two tools to aid us in development: Better Errors which makes it easier than ever to debug exceptions, and RailsPanel, a Chrome extension to see Rails requests. no 8:06 #400 What's New in Rails 4 Rails 4.0 is still unfinished, but it is shaping up to become a great release. Here I show how to setup a new Rails 4.0 (edge) application and walk through many of its new features. 2013年1月04日 00:00:00 -0800 http://railscasts.com/episodes/400-what-s-new-in-rails-4 what-s-new-in-rails-4 Ryan Bates Rails 4.0 is still unfinished, but it is shaping up to become a great release. Here I show how to setup a new Rails 4.0 (edge) application and walk... Rails 4.0 is still unfinished, but it is shaping up to become a great release. Here I show how to setup a new Rails 4.0 (edge) application and walk through many of its new features. no 20:23 #396 Importing CSV and Excel Allow users to import records into the database by uploading a CSV or Excel document. Here I show how to use Roo to parse these files and present a solution for validations. 2012年12月08日 00:00:00 -0800 http://railscasts.com/episodes/396-importing-csv-and-excel importing-csv-and-excel Ryan Bates Allow users to import records into the database by uploading a CSV or Excel document. Here I show how to use Roo to parse these files and present a... Allow users to import records into the database by uploading a CSV or Excel document. Here I show how to use Roo to parse these files and present a solution for validations. no 10:19 #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. 2012年11月21日 00:00:00 -0800 http://railscasts.com/episodes/393-guest-user-record guest-user-record Ryan Bates 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 fillin... 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. no 9:27 #390 Turbolinks 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 I show how to use it in Rails 3 and mention some of the gotchas. 2012年11月05日 00:00:00 -0800 http://railscasts.com/episodes/390-turbolinks turbolinks Ryan Bates 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 Rail... 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 I show how to use it in Rails 3 and mention some of the gotchas. no 7:45 #387 Cache Digests 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 watch out for the gotchas! 2012年10月20日 00:00:00 -0700 http://railscasts.com/episodes/387-cache-digests cache-digests Ryan Bates 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 cha... 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 watch out for the gotchas! no 7:39 #384 Exploring RubyGems RubyGems can make it easy to add a feature to a Rails application, but it can also cause headaches down the road. Here I give some tips on researching gems to decide which one to choose, or when to do it from scratch. 2012年10月07日 00:00:00 -0700 http://railscasts.com/episodes/384-exploring-rubygems exploring-rubygems Ryan Bates RubyGems can make it easy to add a feature to a Rails application, but it can also cause headaches down the road. Here I give some tips on research... RubyGems can make it easy to add a feature to a Rails application, but it can also cause headaches down the road. Here I give some tips on researching gems to decide which one to choose, or when to do it from scratch. no 7:20 #382 Tagging There are several gems to help implement tags in a Rails app. Here I show you how to integrate acts-as-taggable-on and then show how to do it from scratch. 2012年9月22日 00:00:00 -0700 http://railscasts.com/episodes/382-tagging tagging Ryan Bates There are several gems to help implement tags in a Rails app. Here I show you how to integrate acts-as-taggable-on and then show how to do it from ... There are several gems to help implement tags in a Rails app. Here I show you how to integrate acts-as-taggable-on and then show how to do it from scratch. no 11:03 #378 FnordMetric FnordMetric allows you to chart events in real time. This is great for keeping track of user activity in your Rails app as demonstrated in this episode. 2012年9月04日 00:00:00 -0700 http://railscasts.com/episodes/378-fnordmetric fnordmetric Ryan Bates FnordMetric allows you to chart events in real time. This is great for keeping track of user activity in your Rails app as demonstrated in this epi... FnordMetric allows you to chart events in real time. This is great for keeping track of user activity in your Rails app as demonstrated in this episode. no 10:04 #376 JRuby Basics JRuby is a polished and stable Ruby implementation. Here I show the basics of setting it up and executing Java from within Ruby. I also see how it compares with MRI at running threads. 2012年8月30日 00:00:00 -0700 http://railscasts.com/episodes/376-jruby-basics jruby-basics Ryan Bates JRuby is a polished and stable Ruby implementation. Here I show the basics of setting it up and executing Java from within Ruby. I also see how it ... JRuby is a polished and stable Ruby implementation. Here I show the basics of setting it up and executing Java from within Ruby. I also see how it compares with MRI at running threads. no 10:47 #374 Image Manipulation Learn how to do extensive image manipulation with the ImageMagick commands. Also learn how RMagick can be used in combination with CarrierWave to process uploaded images. 2012年8月16日 00:00:00 -0700 http://railscasts.com/episodes/374-image-manipulation image-manipulation Ryan Bates Learn how to do extensive image manipulation with the ImageMagick commands. Also learn how RMagick can be used in combination with CarrierWave to p... Learn how to do extensive image manipulation with the ImageMagick commands. Also learn how RMagick can be used in combination with CarrierWave to process uploaded images. no 11:23 #372 Bullet Bullet will notify you of database queries that can potentially be improved through eager loading or counter cache column. A variety of notification alerts are supported. 2012年8月09日 00:00:00 -0700 http://railscasts.com/episodes/372-bullet bullet Ryan Bates Bullet will notify you of database queries that can potentially be improved through eager loading or counter cache column. A variety of notificatio... Bullet will notify you of database queries that can potentially be improved through eager loading or counter cache column. A variety of notification alerts are supported. no 6:20 #370 Ransack Ransack allows you to easily build complex search forms. It also helps in adding sortable links and building a dynamic advanced search page. 2012年8月03日 00:00:00 -0700 http://railscasts.com/episodes/370-ransack ransack Ryan Bates Ransack allows you to easily build complex search forms. It also helps in adding sortable links and building a dynamic advanced search page. Ransack allows you to easily build complex search forms. It also helps in adding sortable links and building a dynamic advanced search page. no 10:18 #368 MiniProfiler MiniProfiler allows you to see the speed of a request conveniently on the page. It also shows the SQL queries performed and allows you to profile a specific block of code. 2012年7月24日 00:00:00 -0700 http://railscasts.com/episodes/368-miniprofiler miniprofiler Ryan Bates MiniProfiler allows you to see the speed of a request conveniently on the page. It also shows the SQL queries performed and allows you to profile a... MiniProfiler allows you to see the speed of a request conveniently on the page. It also shows the SQL queries performed and allows you to profile a specific block of code. no 9:03 #366 Sidekiq Sidekiq allows you to move jobs into the background for asynchronous processing. It uses threads instead of forks so it is much more efficient with memory compared to Resque. 2012年7月18日 00:00:00 -0700 http://railscasts.com/episodes/366-sidekiq sidekiq Ryan Bates Sidekiq allows you to move jobs into the background for asynchronous processing. It uses threads instead of forks so it is much more efficient with... Sidekiq allows you to move jobs into the background for asynchronous processing. It uses threads instead of forks so it is much more efficient with memory compared to Resque. no 10:17 #364 Active Record Reputation System If you need to calculate an average user's rating or sum up a number of votes, consider using the activerecord-reputation-system gem. Here I will cover the basics and also briefly present a from-scratch solution. 2012年7月09日 00:00:00 -0700 http://railscasts.com/episodes/364-active-record-reputation-system active-record-reputation-system Ryan Bates If you need to calculate an average user's rating or sum up a number of votes, consider using the activerecord-reputation-system gem. Here I will c... If you need to calculate an average user's rating or sum up a number of votes, consider using the activerecord-reputation-system gem. Here I will cover the basics and also briefly present a from-scratch solution. no 10:27 #362 Exporting CSV and Excel As you will see it is easy to add a CSV export option to Rails. Here I also show how to export for Excel in a variety of formats. 2012年7月02日 00:00:00 -0700 http://railscasts.com/episodes/362-exporting-csv-and-excel exporting-csv-and-excel Ryan Bates As you will see it is easy to add a CSV export option to Rails. Here I also show how to export for Excel in a variety of formats. As you will see it is easy to add a CSV export option to Rails. Here I also show how to export for Excel in a variety of formats. no 6:35 #360 Facebook Authentication This will show how to create a new facebook application and configure it. Then add some authentication with the omniauth-facebook gem and top it off with a client-side authentication using the JavaScript SDK. 2012年6月25日 00:00:00 -0700 http://railscasts.com/episodes/360-facebook-authentication facebook-authentication Ryan Bates This will show how to create a new facebook application and configure it. Then add some authentication with the omniauth-facebook gem and top it of... This will show how to create a new facebook application and configure it. Then add some authentication with the omniauth-facebook gem and top it off with a client-side authentication using the JavaScript SDK. no 12:09 #358 Brakeman The Brakeman gem will scan the Ruby code of a Rails application and alert you to common security vulnerabilities. 2012年6月15日 00:00:00 -0700 http://railscasts.com/episodes/358-brakeman brakeman Ryan Bates The Brakeman gem will scan the Ruby code of a Rails application and alert you to common security vulnerabilities. The Brakeman gem will scan the Ruby code of a Rails application and alert you to common security vulnerabilities. no 8:24 #356 Dangers of Session Hijacking If a user's authentication cookie is sent over an insecure connection it is vulnerable to session hijacking, or more specifically, sidejacking. Learn how this is done, and how you can prevent it. 2012年6月08日 00:00:00 -0700 http://railscasts.com/episodes/356-dangers-of-session-hijacking dangers-of-session-hijacking Ryan Bates If a user's authentication cookie is sent over an insecure connection it is vulnerable to session hijacking, or more specifically, sidejacking. Lea... If a user's authentication cookie is sent over an insecure connection it is vulnerable to session hijacking, or more specifically, sidejacking. Learn how this is done, and how you can prevent it. no 6:26 #354 Squeel Squeel provides a comprehensive DSL for writing SQL queries in Ruby. It is built upon Arel giving you access to many of its powerful features. 2012年5月30日 00:00:00 -0700 http://railscasts.com/episodes/354-squeel squeel Ryan Bates Squeel provides a comprehensive DSL for writing SQL queries in Ruby. It is built upon Arel giving you access to many of its powerful features. Squeel provides a comprehensive DSL for writing SQL queries in Ruby. It is built upon Arel giving you access to many of its powerful features. no 9:10 #352 Securing an API There are many approaches to locking down an API. Here I start off with HTTP Basic authentication then move on to generating a unique token which can be passed through a URL parameter or HTTP header. 2012年5月23日 00:00:00 -0700 http://railscasts.com/episodes/352-securing-an-api securing-an-api Ryan Bates There are many approaches to locking down an API. Here I start off with HTTP Basic authentication then move on to generating a unique token which c... There are many approaches to locking down an API. Here I start off with HTTP Basic authentication then move on to generating a unique token which can be passed through a URL parameter or HTTP header. no 7:42 #350 REST API Versioning APIs should be consistent, but it is difficult to do this when returning a JSON response along side the HTML interface. Here I show how to add a versioned, RESTful API. The version can be determined from either the URL or HTTP headers. 2012年5月16日 00:00:00 -0700 http://railscasts.com/episodes/350-rest-api-versioning rest-api-versioning Ryan Bates APIs should be consistent, but it is difficult to do this when returning a JSON response along side the HTML interface. Here I show how to add a ve... APIs should be consistent, but it is difficult to do this when returning a JSON response along side the HTML interface. Here I show how to add a versioned, RESTful API. The version can be determined from either the URL or HTTP headers. no 10:40 #348 The Rails API Gem It is often asked: Is Rails a good fit if I only need to serve an API? In this episode I show how to use the Rails API gem to create a slimmer Rails application designed to respond with JSON. 2012年5月09日 00:00:00 -0700 http://railscasts.com/episodes/348-the-rails-api-gem the-rails-api-gem Ryan Bates It is often asked: Is Rails a good fit if I only need to serve an API? In this episode I show how to use the Rails API gem to create a slimmer Rail... It is often asked: Is Rails a good fit if I only need to serve an API? In this episode I show how to use the Rails API gem to create a slimmer Rails application designed to respond with JSON. no 9:56 #347 Rubber and Amazon EC2 Deploying to Amazon EC2 allows you to scale an application quickly. Learn how to use Rubber to deploy to the cloud with just a few commands and monitor the cluster with various web tools. 2012年5月03日 00:00:00 -0700 http://railscasts.com/episodes/347-rubber-and-amazon-ec2 rubber-and-amazon-ec2 Ryan Bates Deploying to Amazon EC2 allows you to scale an application quickly. Learn how to use Rubber to deploy to the cloud with just a few commands and mon... Deploying to Amazon EC2 allows you to scale an application quickly. Learn how to use Rubber to deploy to the cloud with just a few commands and monitor the cluster with various web tools. no 17:04 #346 Wizard Forms with Wicked Creating a wizard form can be tricky in Rails. Learn how Wicked can help by turning a controller into a series of multiple steps. 2012年5月03日 00:00:00 -0700 http://railscasts.com/episodes/346-wizard-forms-with-wicked wizard-forms-with-wicked Ryan Bates Creating a wizard form can be tricky in Rails. Learn how Wicked can help by turning a controller into a series of multiple steps. Creating a wizard form can be tricky in Rails. Learn how Wicked can help by turning a controller into a series of multiple steps. no 11:57 #344 Queue Classic PostgreSQL can act as a worker queue which can replace the need for a separate process to manage the background jobs. Here you will learn how to do this with the queue_classic gem. 2012年4月24日 00:00:00 -0700 http://railscasts.com/episodes/344-queue-classic queue-classic Ryan Bates PostgreSQL can act as a worker queue which can replace the need for a separate process to manage the background jobs. Here you will learn how to do... PostgreSQL can act as a worker queue which can replace the need for a separate process to manage the background jobs. Here you will learn how to do this with the queue_classic gem. no 8:07 #342 Migrating to PostgreSQL Postgres is a feature-packed relational database that every Rails developer should consider using. Here you will learn how to install it, add it to a new application, and transition from an existing SQLite app using the "taps" gem. 2012年4月17日 00:00:00 -0700 http://railscasts.com/episodes/342-migrating-to-postgresql migrating-to-postgresql Ryan Bates Postgres is a feature-packed relational database that every Rails developer should consider using. Here you will learn how to install it, add it to... Postgres is a feature-packed relational database that every Rails developer should consider using. Here you will learn how to install it, add it to a new application, and transition from an existing SQLite app using the "taps" gem. no 8:14 #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 I show how to set this up and use a Rails application as the data source. 2012年4月11日 00:00:00 -0700 http://railscasts.com/episodes/340-datatables datatables Ryan Bates DataTables makes it easy to convert a plain HTML table into one with pagination, sorting, and searching - all done with JavaScript and jQuery. Here... DataTables makes it easy to convert a plain HTML table into one with pagination, sorting, and searching - all done with JavaScript and jQuery. Here I show how to set this up and use a Rails application as the data source. no 9:40 #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. 2012年4月04日 00:00:00 -0700 http://railscasts.com/episodes/338-globalize3 globalize3 Ryan Bates Rails has great internationalization (I18n) support making it easy to translate static text into other languages, but how do we translate database ... 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. no 5:57 #336 Copycopter Copycopter provides a nice interface that clients can use to edit the text in a Rails application. Learn how to deploy a Copycopter server using Heroku and integrate it in a Rails application through I18n. 2012年3月27日 00:00:00 -0700 http://railscasts.com/episodes/336-copycopter copycopter Ryan Bates Copycopter provides a nice interface that clients can use to edit the text in a Rails application. Learn how to deploy a Copycopter server using He... Copycopter provides a nice interface that clients can use to edit the text in a Rails application. Learn how to deploy a Copycopter server using Heroku and integrate it in a Rails application through I18n. no 6:48 #334 Compass & CSS Sprites Compass improves the Sass experience by providing useful mixins, functions, and more. You will also learn how to make CSS sprites with it in this episode. 2012年3月21日 00:00:00 -0700 http://railscasts.com/episodes/334-compass-css-sprites compass-css-sprites Ryan Bates Compass improves the Sass experience by providing useful mixins, functions, and more. You will also learn how to make CSS sprites with it in this e... Compass improves the Sass experience by providing useful mixins, functions, and more. You will also learn how to make CSS sprites with it in this episode. no 9:50 #332 Refinery CMS Basics If you need to quickly create an informational site that can be easily edited, consider using a content management system. Here I show how to build a site using Refinery CMS. 2012年3月14日 00:00:00 -0700 http://railscasts.com/episodes/332-refinery-cms-basics refinery-cms-basics Ryan Bates If you need to quickly create an informational site that can be easily edited, consider using a content management system. Here I show how to build... If you need to quickly create an informational site that can be easily edited, consider using a content management system. Here I show how to build a site using Refinery CMS. no 11:26 #330 Better Sass with Bourbon If you are tired of the browser vendor prefixes in CSS, check out Bourbon. It provides Sass mixins and functions to make CSS more convenient. 2012年3月07日 00:00:00 -0800 http://railscasts.com/episodes/330-better-sass-with-bourbon better-sass-with-bourbon Ryan Bates If you are tired of the browser vendor prefixes in CSS, check out Bourbon. It provides Sass mixins and functions to make CSS more convenient. If you are tired of the browser vendor prefixes in CSS, check out Bourbon. It provides Sass mixins and functions to make CSS more convenient. no 7:19 #328 Twitter Bootstrap Basics Twitter Bootstrap can help make beautiful web apps quickly by providing you with useful CSS and JavaScript. Here you will learn how to include it into Rails with the twitter-bootstrap-rails gem. 2012年2月28日 00:00:00 -0800 http://railscasts.com/episodes/328-twitter-bootstrap-basics twitter-bootstrap-basics Ryan Bates Twitter Bootstrap can help make beautiful web apps quickly by providing you with useful CSS and JavaScript. Here you will learn how to include it i... Twitter Bootstrap can help make beautiful web apps quickly by providing you with useful CSS and JavaScript. Here you will learn how to include it into Rails with the twitter-bootstrap-rails gem. no 10:11 #326 ActiveAttr ActiveAttr provides what Active Model left out. If you need to create a table-less model with features similar to Active Record, watch this episode. 2012年2月21日 00:00:00 -0800 http://railscasts.com/episodes/326-activeattr activeattr Ryan Bates ActiveAttr provides what Active Model left out. If you need to create a table-less model with features similar to Active Record, watch this episode. ActiveAttr provides what Active Model left out. If you need to create a table-less model with features similar to Active Record, watch this episode. no 5:24 #324 Passing Data to JavaScript There are a variety of ways to pass variables from a Rails application to JavaScript. Here I show three techniques: a script tag, a data attribute, and the Gon gem. 2012年2月13日 00:00:00 -0800 http://railscasts.com/episodes/324-passing-data-to-javascript passing-data-to-javascript Ryan Bates There are a variety of ways to pass variables from a Rails application to JavaScript. Here I show three techniques: a script tag, a data attribute,... There are a variety of ways to pass variables from a Rails application to JavaScript. Here I show three techniques: a script tag, a data attribute, and the Gon gem. no 6:48 #322 RABL RABL - Ruby API Builder Language - provides a DSL for generating JSON or XML responses in a Ruby application. Learn how to share and configure complex JSON data in this episode. 2012年2月08日 00:00:00 -0800 http://railscasts.com/episodes/322-rabl rabl Ryan Bates RABL - Ruby API Builder Language - provides a DSL for generating JSON or XML responses in a Ruby application. Learn how to share and configure comp... RABL - Ruby API Builder Language - provides a DSL for generating JSON or XML responses in a Ruby application. Learn how to share and configure complex JSON data in this episode. no 8:59 #320 Jbuilder Jbuilder provides a DSL for generating JSON. It includes a template engine which allows you to create complex responses with helpers and conditions. 2012年1月30日 00:00:00 -0800 http://railscasts.com/episodes/320-jbuilder jbuilder Ryan Bates Jbuilder provides a DSL for generating JSON. It includes a template engine which allows you to create complex responses with helpers and conditions. Jbuilder provides a DSL for generating JSON. It includes a template engine which allows you to create complex responses with helpers and conditions. no 8:17 #318 Upgrading to Rails 3.2 Rails 3.2 sports many new features including automatic explain queries, tagged logging, key-value store in Active Record, improved migration generator and more. Learn all about these new features in this episode. 2012年1月23日 00:00:00 -0800 http://railscasts.com/episodes/318-upgrading-to-rails-3-2 upgrading-to-rails-3-2 Ryan Bates Rails 3.2 sports many new features including automatic explain queries, tagged logging, key-value store in Active Record, improved migration genera... Rails 3.2 sports many new features including automatic explain queries, tagged logging, key-value store in Active Record, improved migration generator and more. Learn all about these new features in this episode. no 9:45 #316 Private Pub Private Pub makes it easier than ever to publish and subscribe to real-time events in a Rails app. You can use publish_to with a block of JavaScript or supply a hash for use with JSON. 2012年1月16日 00:00:00 -0800 http://railscasts.com/episodes/316-private-pub private-pub Ryan Bates Private Pub makes it easier than ever to publish and subscribe to real-time events in a Rails app. You can use publish_to with a block of JavaScrip... Private Pub makes it easier than ever to publish and subscribe to real-time events in a Rails app. You can use publish_to with a block of JavaScript or supply a hash for use with JSON. no 7:34 #314 Pretty URLs with FriendlyId If you are tired of model ids in the URL, overriding to_param can only get you so far. The friendly_id plugin can help by making it easy to generate a URL slug and maintain a history. 2012年1月09日 00:00:00 -0800 http://railscasts.com/episodes/314-pretty-urls-with-friendlyid pretty-urls-with-friendlyid Ryan Bates If you are tired of model ids in the URL, overriding to_param can only get you so far. The friendly_id plugin can help by making it easy to generat... If you are tired of model ids in the URL, overriding to_param can only get you so far. The friendly_id plugin can help by making it easy to generate a URL slug and maintain a history. no 7:43 #312 Sending HTML Email HTML email can be difficult to code because any CSS should be made inline. Here I present a few tools for doing this including the premailer-rails3 and roadie gems. 2012年1月02日 00:00:00 -0800 http://railscasts.com/episodes/312-sending-html-email sending-html-email Ryan Bates HTML email can be difficult to code because any CSS should be made inline. Here I present a few tools for doing this including the premailer-rails3... HTML email can be difficult to code because any CSS should be made inline. Here I present a few tools for doing this including the premailer-rails3 and roadie gems. no 5:42 #310 Getting Started with Rails Learning Ruby on Rails can be overwhelming, especially if you are new to programming. Here I will take you on a tour through various resources to help get started with Rails. 2011年12月26日 00:00:00 -0800 http://railscasts.com/episodes/310-getting-started-with-rails getting-started-with-rails Ryan Bates Learning Ruby on Rails can be overwhelming, especially if you are new to programming. Here I will take you on a tour through various resources to h... Learning Ruby on Rails can be overwhelming, especially if you are new to programming. Here I will take you on a tour through various resources to help get started with Rails. no 7:56 #308 Oh My ZSH As Rails developers, we frequently use the command line. Here I will show how to switch to Z Shell using Oh My ZSH including how to make your own theme and plugins. 2011年12月19日 00:00:00 -0800 http://railscasts.com/episodes/308-oh-my-zsh oh-my-zsh Ryan Bates As Rails developers, we frequently use the command line. Here I will show how to switch to Z Shell using Oh My ZSH including how to make your own t... As Rails developers, we frequently use the command line. Here I will show how to switch to Z Shell using Oh My ZSH including how to make your own theme and plugins. no 9:11 #306 ElasticSearch Part 1 Add full text searching using ElasticSearch and Tire. Here I will show the steps involved in adding this search to an existing application. This is the first part in a two part series. 2011年12月12日 00:00:00 -0800 http://railscasts.com/episodes/306-elasticsearch-part-1 elasticsearch-part-1 Ryan Bates Add full text searching using ElasticSearch and Tire. Here I will show the steps involved in adding this search to an existing application. This is... Add full text searching using ElasticSearch and Tire. Here I will show the steps involved in adding this search to an existing application. This is the first part in a two part series. no 9:58 #304 OmniAuth Identity With the release of OmniAuth 1.0 there is a new Identity strategy which allows users to register/login with a password if they don't want to use an external provider. 2011年12月05日 00:00:00 -0800 http://railscasts.com/episodes/304-omniauth-identity omniauth-identity Ryan Bates With the release of OmniAuth 1.0 there is a new Identity strategy which allows users to register/login with a password if they don't want to use an... With the release of OmniAuth 1.0 there is a new Identity strategy which allows users to register/login with a password if they don't want to use an external provider. no 11:01 #302 In-Place Editing Edit an attribute in-place without leaving a page using the Best In Place gem. Learn how to add validations and support for various field types. 2011年11月28日 00:00:00 -0800 http://railscasts.com/episodes/302-in-place-editing in-place-editing Ryan Bates Edit an attribute in-place without leaving a page using the Best In Place gem. Learn how to add validations and support for various field types. Edit an attribute in-place without leaving a page using the Best In Place gem. Learn how to add validations and support for various field types. no 8:20 #300 Contributing to Open Source GitHub makes it easier than ever to contribute to open source with pull requests. Here I show how to submit a pull request to the VCR project. 2011年11月21日 00:00:00 -0800 http://railscasts.com/episodes/300-contributing-to-open-source contributing-to-open-source Ryan Bates GitHub makes it easier than ever to contribute to open source with pull requests. Here I show how to submit a pull request to the VCR project. GitHub makes it easier than ever to contribute to open source with pull requests. Here I show how to submit a pull request to the VCR project. no 9:22 #298 Getting Started with Spree Spree allows you to quickly turn a Rails project into a full eCommerce application. Here I show how to set it up and configure the look and feel of the store. 2011年11月14日 00:00:00 -0800 http://railscasts.com/episodes/298-getting-started-with-spree getting-started-with-spree Ryan Bates Spree allows you to quickly turn a Rails project into a full eCommerce application. Here I show how to set it up and configure the look and feel of... Spree allows you to quickly turn a Rails project into a full eCommerce application. Here I show how to set it up and configure the look and feel of the store. no 10:53 #296 Mercury Editor Mercury allows you to edit a section of HTML directly in the web browser through a WYSIWYG editor. Here I show how to integrate Mercury into a Rails app and save the changes back to the database. 2011年11月07日 00:00:00 -0800 http://railscasts.com/episodes/296-mercury-editor mercury-editor Ryan Bates Mercury allows you to edit a section of HTML directly in the web browser through a WYSIWYG editor. Here I show how to integrate Mercury into a Rail... Mercury allows you to edit a section of HTML directly in the web browser through a WYSIWYG editor. Here I show how to integrate Mercury into a Rails app and save the changes back to the database. no 11:09 #294 Playing with PJAX PJAX allows you to quickly update a section of a page using AJAX with automatic pushState support. Here I show how to use both pjax_rails and rack-pjax gems. 2011年10月31日 00:00:00 -0700 http://railscasts.com/episodes/294-playing-with-pjax playing-with-pjax Ryan Bates PJAX allows you to quickly update a section of a page using AJAX with automatic pushState support. Here I show how to use both pjax_rails and rack-... PJAX allows you to quickly update a section of a page using AJAX with automatic pushState support. Here I show how to use both pjax_rails and rack-pjax gems. no 8:38 #292 Virtual Machines with Vagrant Vagrant allows you to run your Rails application and all of its dependencies in a portable, sharable environment. Use for development, set it up as a staging server, or experiment with a production setup. 2011年10月24日 00:00:00 -0700 http://railscasts.com/episodes/292-virtual-machines-with-vagrant virtual-machines-with-vagrant Ryan Bates Vagrant allows you to run your Rails application and all of its dependencies in a portable, sharable environment. Use for development, set it up as... Vagrant allows you to run your Rails application and all of its dependencies in a portable, sharable environment. Use for development, set it up as a staging server, or experiment with a production setup. no 11:30 #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. 2011年10月17日 00:00:00 -0700 http://railscasts.com/episodes/290-soap-with-savon soap-with-savon Ryan Bates Communicating with a SOAP API can be a daunting task. Savon makes this easier by presenting the SOAP API through a Ruby interface. Communicating with a SOAP API can be a daunting task. Savon makes this easier by presenting the SOAP API through a Ruby interface. no 9:52 #288 Billing with Stripe Stripe is a full-stack payment solution with very reasonable pricing and is easy to setup. See how to add it to a Rails application here. Currently only available in the US. 2011年10月10日 00:00:00 -0700 http://railscasts.com/episodes/288-billing-with-stripe billing-with-stripe Ryan Bates Stripe is a full-stack payment solution with very reasonable pricing and is easy to setup. See how to add it to a Rails application here. Currently... Stripe is a full-stack payment solution with very reasonable pricing and is easy to setup. See how to add it to a Rails application here. Currently only available in the US. no 16:36 #286 Draper 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 I do a step-by-step refactoring of a complex template into a decorator. 2011年10月03日 00:00:00 -0700 http://railscasts.com/episodes/286-draper draper Ryan Bates Clean up complex view logic using Draper. This gem provides decorators (much like presenters) which bundles view logic in an object oriented fashio... 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 I do a step-by-step refactoring of a complex template into a decorator. no 12:10 #285 Spork 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. 2011年9月26日 00:00:00 -0700 http://railscasts.com/episodes/285-spork spork Ryan Bates 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... 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. no 9:19 #284 Active Admin 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. 2011年9月19日 00:00:00 -0700 http://railscasts.com/episodes/284-active-admin active-admin Ryan Bates 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 s... 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. no 12:43 #283 Authentication with Sorcery Sorcery is a full-featured, modular solution to authentication which leaves the controller and view layers up to you. 2011年9月12日 00:00:00 -0700 http://railscasts.com/episodes/283-authentication-with-sorcery authentication-with-sorcery Ryan Bates Sorcery is a full-featured, modular solution to authentication which leaves the controller and view layers up to you. Sorcery is a full-featured, modular solution to authentication which leaves the controller and view layers up to you. no 10:40 #282 Upgrading to Rails 3.1 It is incredibly easy to upgrade to Rails 3.1, but if you want to take advantage of the asset pipeline you will need to put in some extra effort. Have no fear because I walk you through each of the necessary steps in this episode. 2011年9月05日 00:00:00 -0700 http://railscasts.com/episodes/282-upgrading-to-rails-3-1 upgrading-to-rails-3-1 Ryan Bates It is incredibly easy to upgrade to Rails 3.1, but if you want to take advantage of the asset pipeline you will need to put in some extra effort. H... It is incredibly easy to upgrade to Rails 3.1, but if you want to take advantage of the asset pipeline you will need to put in some extra effort. Have no fear because I walk you through each of the necessary steps in this episode. no 8:42 #281 Foreman Foreman can help manage multiple processes that your Rails app depends upon when running in development. It also provides an export command to move them into production. 2011年8月29日 00:00:00 -0700 http://railscasts.com/episodes/281-foreman foreman Ryan Bates Foreman can help manage multiple processes that your Rails app depends upon when running in development. It also provides an export command to move... Foreman can help manage multiple processes that your Rails app depends upon when running in development. It also provides an export command to move them into production. no 4:21 #280 Pry with Rails Pry is an alternative to IRB and sports many great features. Here I show how to integrate it into a Rails app, and how it can aid in debugging. 2011年8月22日 00:00:00 -0700 http://railscasts.com/episodes/280-pry-with-rails pry-with-rails Ryan Bates Pry is an alternative to IRB and sports many great features. Here I show how to integrate it into a Rails app, and how it can aid in debugging. Pry is an alternative to IRB and sports many great features. Here I show how to integrate it into a Rails app, and how it can aid in debugging. no 8:08 #279 Understanding the Asset Pipeline The asset pipeline is probably the biggest feature in Rails 3.1, but it can seem like magic at first. Here I dive into exactly how the asset pipeline works. 2011年8月15日 00:00:00 -0700 http://railscasts.com/episodes/279-understanding-the-asset-pipeline understanding-the-asset-pipeline Ryan Bates The asset pipeline is probably the biggest feature in Rails 3.1, but it can seem like magic at first. Here I dive into exactly how the asset pipeli... The asset pipeline is probably the biggest feature in Rails 3.1, but it can seem like magic at first. Here I dive into exactly how the asset pipeline works. no 11:22 #278 Search with Sunspot Sunspot makes it easy to do full text searching through Solr. Here I show how to search on various attributes and add facets for filtering the search further. 2011年8月08日 00:00:00 -0700 http://railscasts.com/episodes/278-search-with-sunspot search-with-sunspot Ryan Bates Sunspot makes it easy to do full text searching through Solr. Here I show how to search on various attributes and add facets for filtering the sear... Sunspot makes it easy to do full text searching through Solr. Here I show how to search on various attributes and add facets for filtering the search further. no 10:22 #277 Mountable Engines Engines are receiving a major update in Rails 3.1. You can mount them at any path, embed assets, run generators and more. See how in this episode. 2011年8月01日 00:00:00 -0700 http://railscasts.com/episodes/277-mountable-engines mountable-engines Ryan Bates Engines are receiving a major update in Rails 3.1. You can mount them at any path, embed assets, run generators and more. See how in this episode. Engines are receiving a major update in Rails 3.1. You can mount them at any path, embed assets, run generators and more. See how in this episode. no 13:03 #276 Testing Time & Web Requests It can be difficult to test code that deals with the current time or an external web request. Here I show you how to do both using the Timecop and FakeWeb gems. 2011年7月25日 00:00:00 -0700 http://railscasts.com/episodes/276-testing-time-web-requests testing-time-web-requests Ryan Bates It can be difficult to test code that deals with the current time or an external web request. Here I show you how to do both using the Timecop and ... It can be difficult to test code that deals with the current time or an external web request. Here I show you how to do both using the Timecop and FakeWeb gems. no 8:57 #275 How I Test Here I show how I would add tests to the password reset feature created in the previous episode. I use RSpec, Capybara, Factory Girl, and Guard to make request, model, and mailer specs. 2011年7月18日 00:00:00 -0700 http://railscasts.com/episodes/275-how-i-test how-i-test Ryan Bates Here I show how I would add tests to the password reset feature created in the previous episode. I use RSpec, Capybara, Factory Girl, and Guard to ... Here I show how I would add tests to the password reset feature created in the previous episode. I use RSpec, Capybara, Factory Girl, and Guard to make request, model, and mailer specs. no 15:26 #274 Remember Me & Reset Password It is easy to create authentication from scratch, but how do we extend it with more features? Here I add a "remember me" check box and a "forgotten password" link. 2011年7月11日 00:00:00 -0700 http://railscasts.com/episodes/274-remember-me-reset-password remember-me-reset-password Ryan Bates It is easy to create authentication from scratch, but how do we extend it with more features? Here I add a "remember me" check box and a "forgotten... It is easy to create authentication from scratch, but how do we extend it with more features? Here I add a "remember me" check box and a "forgotten password" link. no 12:14 #273 Geocoder 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! 2011年7月04日 00:00:00 -0700 http://railscasts.com/episodes/273-geocoder geocoder Ryan Bates If you need to work with geographic data, Geocoder is an excellent gem for converting addresses and coordinates, finding nearby locations, determin... 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! no 8:12 #272 Markdown with Redcarpet Redcarpet is an easy-to-use gem which interprets Markdown. Here I show how to customize it and add syntax highlighting through Pygments and Albino. 2011年6月27日 00:00:00 -0700 http://railscasts.com/episodes/272-markdown-with-redcarpet markdown-with-redcarpet Ryan Bates Redcarpet is an easy-to-use gem which interprets Markdown. Here I show how to customize it and add syntax highlighting through Pygments and Albino. Redcarpet is an easy-to-use gem which interprets Markdown. Here I show how to customize it and add syntax highlighting through Pygments and Albino. no 6:47 #271 Resque Resque creates background jobs using Redis. It supports multiple queue and comes with an administration interface for monitoring and managing the queues. 2011年6月20日 00:00:00 -0700 http://railscasts.com/episodes/271-resque resque Ryan Bates Resque creates background jobs using Redis. It supports multiple queue and comes with an administration interface for monitoring and managing the q... Resque creates background jobs using Redis. It supports multiple queue and comes with an administration interface for monitoring and managing the queues. no 12:23 #270 Authentication in Rails 3.1 Here I show off three new features in Rails 3.1 that will help with authentication: easier HTTP Basic, SecurePassword in the database, and forcing SSL. 2011年6月13日 00:00:00 -0700 http://railscasts.com/episodes/270-authentication-in-rails-3-1 authentication-in-rails-3-1 Ryan Bates Here I show off three new features in Rails 3.1 that will help with authentication: easier HTTP Basic, SecurePassword in the database, and forcing ... Here I show off three new features in Rails 3.1 that will help with authentication: easier HTTP Basic, SecurePassword in the database, and forcing SSL. no 7:07 #269 Template Inheritance In Rails 3.1 the controller inheritance also applies to the view layer. Here I show how to add an application template which is shared by all views, and a lookup path for overriding templates based on the subdomain. 2011年6月06日 00:00:00 -0700 http://railscasts.com/episodes/269-template-inheritance template-inheritance Ryan Bates In Rails 3.1 the controller inheritance also applies to the view layer. Here I show how to add an application template which is shared by all views... In Rails 3.1 the controller inheritance also applies to the view layer. Here I show how to add an application template which is shared by all views, and a lookup path for overriding templates based on the subdomain. no 8:46 #268 Sass Basics Sass extends CSS with variables, nesting, mixins and more. Here I show how to convert plain CSS to SCSS in a Rails 3.1 app. 2011年5月30日 00:00:00 -0700 http://railscasts.com/episodes/268-sass-basics sass-basics Ryan Bates Sass extends CSS with variables, nesting, mixins and more. Here I show how to convert plain CSS to SCSS in a Rails 3.1 app. Sass extends CSS with variables, nesting, mixins and more. Here I show how to convert plain CSS to SCSS in a Rails 3.1 app. no 13:06 #267 CoffeeScript Basics CoffeeScript allows you to write JavaScript in a concise, elegant fashion. Here I convert JavaScript code to CoffeeScript in a Rails 3.1 app. 2011年5月23日 00:00:00 -0700 http://railscasts.com/episodes/267-coffeescript-basics coffeescript-basics Ryan Bates CoffeeScript allows you to write JavaScript in a concise, elegant fashion. Here I convert JavaScript code to CoffeeScript in a Rails 3.1 app. CoffeeScript allows you to write JavaScript in a concise, elegant fashion. Here I convert JavaScript code to CoffeeScript in a Rails 3.1 app. no 11:04 #266 HTTP Streaming HTTP Streaming allows the browser to start processing the HTML response while the Rails app is still processing the rest of the request. 2011年5月16日 00:00:00 -0700 http://railscasts.com/episodes/266-http-streaming http-streaming Ryan Bates HTTP Streaming allows the browser to start processing the HTML response while the Rails app is still processing the rest of the request. HTTP Streaming allows the browser to start processing the HTML response while the Rails app is still processing the rest of the request. no 9:15 #265 Rails 3.1 Overview This is the first episode in a series covering Rails 3.1. Here I show how to install the beta and show some of the new features. 2011年5月09日 00:00:00 -0700 http://railscasts.com/episodes/265-rails-3-1-overview rails-3-1-overview Ryan Bates This is the first episode in a series covering Rails 3.1. Here I show how to install the beta and show some of the new features. This is the first episode in a series covering Rails 3.1. Here I show how to install the beta and show some of the new features. no 13:50 #264 Guard 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. 2011年5月02日 00:00:00 -0700 http://railscasts.com/episodes/264-guard guard Ryan Bates Guard watches files and runs a command after a file is modified. This allows you to automatically run tests in the background, restart your develop... 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. no 8:44 #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. 2011年4月25日 00:00:00 -0700 http://railscasts.com/episodes/263-client-side-validations client-side-validations Ryan Bates 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 Sid... 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. no 8:42 #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. 2011年4月18日 00:00:00 -0700 http://railscasts.com/episodes/262-trees-with-ancestry trees-with-ancestry Ryan Bates 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... 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. no 9:39 #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. 2011年4月11日 00:00:00 -0700 http://railscasts.com/episodes/261-testing-javascript-with-jasmine testing-javascript-with-jasmine Ryan Bates Are you testing your JavaScript? Learn how to add specs using Jasmine. This episode also covers jQuery integration with jasmine-jquery. Are you testing your JavaScript? Learn how to add specs using Jasmine. This episode also covers jQuery integration with jasmine-jquery. no 15:20 #260 Messaging with Faye Faye is a subscription/publishing server which makes it easy to do push notifications within a Rails app. 2011年4月04日 00:00:00 -0700 http://railscasts.com/episodes/260-messaging-with-faye messaging-with-faye Ryan Bates Faye is a subscription/publishing server which makes it easy to do push notifications within a Rails app. Faye is a subscription/publishing server which makes it easy to do push notifications within a Rails app. no 13:42 #259 Decent Exposure The decent_exposure gem makes it convenient to share controller data with the view through methods instead of instance variables. 2011年3月28日 00:00:00 -0700 http://railscasts.com/episodes/259-decent-exposure decent-exposure Ryan Bates The decent_exposure gem makes it convenient to share controller data with the view through methods instead of instance variables. The decent_exposure gem makes it convenient to share controller data with the view through methods instead of instance variables. no 9:55 #258 Token Fields With the jQuery Tokeninput plugin it is easy to add an autocompleting list of entries for a many-to-many association. 2011年3月21日 00:00:00 -0700 http://railscasts.com/episodes/258-token-fields token-fields Ryan Bates With the jQuery Tokeninput plugin it is easy to add an autocompleting list of entries for a many-to-many association. With the jQuery Tokeninput plugin it is easy to add an autocompleting list of entries for a many-to-many association. no 11:09 #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. 2011年3月14日 00:00:00 -0700 http://railscasts.com/episodes/257-request-specs-and-capybara request-specs-and-capybara Ryan Bates 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 integr... 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. no 13:16 #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. 2011年3月07日 00:00:00 -0800 http://railscasts.com/episodes/256-i18n-backends i18n-backends Ryan Bates 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 t... 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. no 11:11 #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. 2011年2月28日 00:00:00 -0800 http://railscasts.com/episodes/255-undo-with-paper-trail undo-with-paper-trail Ryan Bates 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. 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. no 13:22 #254 Pagination with Kaminari 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. Did I mention it also works with Mongoid? 2011年2月21日 00:00:00 -0800 http://railscasts.com/episodes/254-pagination-with-kaminari pagination-with-kaminari Ryan Bates 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. D... 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. Did I mention it also works with Mongoid? no 8:22 #253 CarrierWave File Uploads CarrierWave makes it easy and clean to add file uploads to your application. It supports a variety of ORMs, frameworks and image processors. 2011年2月14日 00:00:00 -0800 http://railscasts.com/episodes/253-carrierwave-file-uploads carrierwave-file-uploads Ryan Bates CarrierWave makes it easy and clean to add file uploads to your application. It supports a variety of ORMs, frameworks and image processors. CarrierWave makes it easy and clean to add file uploads to your application. It supports a variety of ORMs, frameworks and image processors. no 9:05 #252 Metrics Metrics Metrics Metric Fu, Metrical, SimpleCov, Rails Best Practices, and more are covered in this episode on metrics. 2011年2月07日 00:00:00 -0800 http://railscasts.com/episodes/252-metrics-metrics-metrics metrics-metrics-metrics Ryan Bates Metric Fu, Metrical, SimpleCov, Rails Best Practices, and more are covered in this episode on metrics. Metric Fu, Metrical, SimpleCov, Rails Best Practices, and more are covered in this episode on metrics. no 7:51 #251 MetaWhere & MetaSearch 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. 2011年1月31日 00:00:00 -0800 http://railscasts.com/episodes/251-metawhere-metasearch metawhere-metasearch Ryan Bates 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... 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. no 8:28 #250 Authentication from Scratch Password authentication is not too complicated to make from scratch, it will also help to get a better understanding of how it works. 2011年1月24日 00:00:00 -0800 http://railscasts.com/episodes/250-authentication-from-scratch authentication-from-scratch Ryan Bates Password authentication is not too complicated to make from scratch, it will also help to get a better understanding of how it works. Password authentication is not too complicated to make from scratch, it will also help to get a better understanding of how it works. no 15:26 #249 Notifications in Rails 3 Rails 3 comes with instrument support through the ActiveSupport::Notifications class. Call "subscribe" to listen to notifications, and "instrument" to send them. 2011年1月17日 00:00:00 -0800 http://railscasts.com/episodes/249-notifications-in-rails-3 notifications-in-rails-3 Ryan Bates Rails 3 comes with instrument support through the ActiveSupport::Notifications class. Call "subscribe" to listen to notifications, and "instrument"... Rails 3 comes with instrument support through the ActiveSupport::Notifications class. Call "subscribe" to listen to notifications, and "instrument" to send them. no 10:22 #248 Offline Apps Part 2 Learn how to make a site usable offline with HTML 5 localStorage. This last part of the series covers jquery-tmpl and jquery-offline. 2011年1月10日 00:00:00 -0800 http://railscasts.com/episodes/248-offline-apps-part-2 offline-apps-part-2 Ryan Bates Learn how to make a site usable offline with HTML 5 localStorage. This last part of the series covers jquery-tmpl and jquery-offline. Learn how to make a site usable offline with HTML 5 localStorage. This last part of the series covers jquery-tmpl and jquery-offline. no 14:51 #247 Offline Apps Part 1 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. 2011年1月03日 00:00:00 -0800 http://railscasts.com/episodes/247-offline-apps-part-1 offline-apps-part-1 Ryan Bates 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 ru... 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. no 10:44 #246 AJAX History State The new pushState function in JavaScript allows us to change the full URL with AJAX. This means the back button, reloading, and bookmark support can be easily added. 2010年12月27日 00:00:00 -0800 http://railscasts.com/episodes/246-ajax-history-state ajax-history-state Ryan Bates The new pushState function in JavaScript allows us to change the full URL with AJAX. This means the back button, reloading, and bookmark support ca... The new pushState function in JavaScript allows us to change the full URL with AJAX. This means the back button, reloading, and bookmark support can be easily added. no 10:35 #245 New Gem with Bundler Creating new gems is easy with the `bundle gem` command. In this episode I will walk you through how this works. 2010年12月20日 00:00:00 -0800 http://railscasts.com/episodes/245-new-gem-with-bundler new-gem-with-bundler Ryan Bates Creating new gems is easy with the `bundle gem` command. In this episode I will walk you through how this works. Creating new gems is easy with the `bundle gem` command. In this episode I will walk you through how this works. no 7:25 #244 Gravatar Gravatar is a service for providing user avatars. See how easy it is to use in Rails in this episode. 2010年12月13日 00:00:00 -0800 http://railscasts.com/episodes/244-gravatar gravatar Ryan Bates Gravatar is a service for providing user avatars. See how easy it is to use in Rails in this episode. Gravatar is a service for providing user avatars. See how easy it is to use in Rails in this episode. no 5:36 #243 Beanstalkd and Stalker Beanstalk is a fast and easy way to queue background tasks. Stalker provides a nice wrapper interface for creating these jobs. 2010年12月06日 00:00:00 -0800 http://railscasts.com/episodes/243-beanstalkd-and-stalker beanstalkd-and-stalker Ryan Bates Beanstalk is a fast and easy way to queue background tasks. Stalker provides a nice wrapper interface for creating these jobs. Beanstalk is a fast and easy way to queue background tasks. Stalker provides a nice wrapper interface for creating these jobs. no 9:16 #242 Thor Thor is an alternative to Rake. It has better support for command line arguments and provides a way to add global scripts. 2010年11月29日 00:00:00 -0800 http://railscasts.com/episodes/242-thor thor Ryan Bates Thor is an alternative to Rake. It has better support for command line arguments and provides a way to add global scripts. Thor is an alternative to Rake. It has better support for command line arguments and provides a way to add global scripts. no 8:54 #241 Simple OmniAuth Authentication is incredibly simple to add with just OmniAuth if you don't need username/password or multiple authentications per user. 2010年11月22日 00:00:00 -0800 http://railscasts.com/episodes/241-simple-omniauth simple-omniauth Ryan Bates Authentication is incredibly simple to add with just OmniAuth if you don't need username/password or multiple authentications per user. Authentication is incredibly simple to add with just OmniAuth if you don't need username/password or multiple authentications per user. no 9:06 #240 Search, Sort, Paginate with AJAX Many administration pages have search, sorting, and pagination on the index page. See how to add all of this including AJAX. 2010年11月15日 00:00:00 -0800 http://railscasts.com/episodes/240-search-sort-paginate-with-ajax search-sort-paginate-with-ajax Ryan Bates Many administration pages have search, sorting, and pagination on the index page. See how to add all of this including AJAX. Many administration pages have search, sorting, and pagination on the index page. See how to add all of this including AJAX. no 13:43 #239 ActiveRecord::Relation Walkthrough The new Active Record query methods in Rails 3 might seem like magic at first. But in this episode I unravel how it works by browsing the Rails 3 source code. 2010年11月07日 00:00:00 -0700 http://railscasts.com/episodes/239-activerecord-relation-walkthrough activerecord-relation-walkthrough Ryan Bates The new Active Record query methods in Rails 3 might seem like magic at first. But in this episode I unravel how it works by browsing the Rails 3 s... The new Active Record query methods in Rails 3 might seem like magic at first. But in this episode I unravel how it works by browsing the Rails 3 source code. no 11:45 #238 Mongoid Mongoid is a polished, high-level Ruby gem for accessing MongoDB. Here I cover installation, adding fields, validations, associations, and keys. 2010年11月01日 00:00:00 -0700 http://railscasts.com/episodes/238-mongoid mongoid Ryan Bates Mongoid is a polished, high-level Ruby gem for accessing MongoDB. Here I cover installation, adding fields, validations, associations, and keys. Mongoid is a polished, high-level Ruby gem for accessing MongoDB. Here I cover installation, adding fields, validations, associations, and keys. no 11:08 #237 Dynamic attr_accessible It is important to use attr_accessible for security with mass assignment, but what if you need it to be dynamic based on user permissions? See how in this episode. 2010年10月25日 00:00:00 -0700 http://railscasts.com/episodes/237-dynamic-attr-accessible dynamic-attr-accessible Ryan Bates It is important to use attr_accessible for security with mass assignment, but what if you need it to be dynamic based on user permissions? See how ... It is important to use attr_accessible for security with mass assignment, but what if you need it to be dynamic based on user permissions? See how in this episode. no 9:12 #236 OmniAuth Part 2 In this episode we continue our look at integrating OmniAuth with devise. Here I show how to set up new users with validations. 2010年10月13日 00:00:00 -0700 http://railscasts.com/episodes/236-omniauth-part-2 omniauth-part-2 Ryan Bates In this episode we continue our look at integrating OmniAuth with devise. Here I show how to set up new users with validations. In this episode we continue our look at integrating OmniAuth with devise. Here I show how to set up new users with validations. no 15:59 #235 OmniAuth Part 1 OmniAuth is an easy way to add many different authentication services to your app. In this episode we start integrating it with Devise. 2010年10月11日 00:00:00 -0700 http://railscasts.com/episodes/235-omniauth-part-1 omniauth-part-1 Ryan Bates OmniAuth is an easy way to add many different authentication services to your app. In this episode we start integrating it with Devise. OmniAuth is an easy way to add many different authentication services to your app. In this episode we start integrating it with Devise. no 10:52 #234 SimpleForm Simple Form is a convenient way to generate forms with many options to customize the generated markup. 2010年10月04日 00:00:00 -0700 http://railscasts.com/episodes/234-simple-form simple-form Ryan Bates Simple Form is a convenient way to generate forms with many options to customize the generated markup. Simple Form is a convenient way to generate forms with many options to customize the generated markup. no 7:50 #233 Engage with Devise Janrain Engage (aka RPX) makes it easy to support many authentication solutions through their one service. 2010年9月27日 00:00:00 -0700 http://railscasts.com/episodes/233-engage-with-devise engage-with-devise Ryan Bates Janrain Engage (aka RPX) makes it easy to support many authentication solutions through their one service. Janrain Engage (aka RPX) makes it easy to support many authentication solutions through their one service. no 6:22 #232 Routing Walkthrough Part 2 In this episode we continue our look into the Rails 3 router by exploring the Mapper class. 2010年9月19日 00:00:00 -0700 http://railscasts.com/episodes/232-routing-walkthrough-part-2 routing-walkthrough-part-2 Ryan Bates In this episode we continue our look into the Rails 3 router by exploring the Mapper class. In this episode we continue our look into the Rails 3 router by exploring the Mapper class. no 13:25 #231 Routing Walkthrough Part 1 How does routing work internally in Rails 3? In this episode I'll walk you through the Rails code that makes routing possible. 2010年9月13日 00:00:00 -0700 http://railscasts.com/episodes/231-routing-walkthrough routing-walkthrough Ryan Bates How does routing work internally in Rails 3? In this episode I'll walk you through the Rails code that makes routing possible. How does routing work internally in Rails 3? In this episode I'll walk you through the Rails code that makes routing possible. no 13:22 #230 Inherited Resources Inherited Resource simplifies RESTful controllers by providing default actions which can be customized through inheritance. 2010年9月06日 00:00:00 -0700 http://railscasts.com/episodes/230-inherited-resources inherited-resources Ryan Bates Inherited Resource simplifies RESTful controllers by providing default actions which can be customized through inheritance. Inherited Resource simplifies RESTful controllers by providing default actions which can be customized through inheritance. no 9:15 #229 Polling for Changes If you have frequently changing data on the server side, it's helpful to automatically display this to the user as well. Here I show how to accomplish this with polling in jQuery. 2010年8月30日 00:00:00 -0700 http://railscasts.com/episodes/229-polling-for-changes polling-for-changes Ryan Bates If you have frequently changing data on the server side, it's helpful to automatically display this to the user as well. Here I show how to accompl... If you have frequently changing data on the server side, it's helpful to automatically display this to the user as well. Here I show how to accomplish this with polling in jQuery. no 16:07 #228 Sortable Table Columns Here I walk you through adding the ability to sort table columns in ascending or descending order by clicking the header. 2010年8月23日 00:00:00 -0700 http://railscasts.com/episodes/228-sortable-table-columns sortable-table-columns Ryan Bates Here I walk you through adding the ability to sort table columns in ascending or descending order by clicking the header. Here I walk you through adding the ability to sort table columns in ascending or descending order by clicking the header. no 10:52 #227 Upgrading to Rails 3 Part 3 Here we finish up this upgrade series by removing all deprecation warnings and fixing some problems in the view. 2010年8月16日 00:00:00 -0700 http://railscasts.com/episodes/227-upgrading-to-rails-3-part-3 upgrading-to-rails-3-part-3 Ryan Bates Here we finish up this upgrade series by removing all deprecation warnings and fixing some problems in the view. Here we finish up this upgrade series by removing all deprecation warnings and fixing some problems in the view. no 9:34 #226 Upgrading to Rails 3 Part 2 Here we continue upgrading an application to Rails 3 by getting our specs up and running and going through the rails_upgrade plugin. 2010年8月09日 00:00:00 -0700 http://railscasts.com/episodes/226-upgrading-to-rails-3-part-2 upgrading-to-rails-3-part-2 Ryan Bates Here we continue upgrading an application to Rails 3 by getting our specs up and running and going through the rails_upgrade plugin. Here we continue upgrading an application to Rails 3 by getting our specs up and running and going through the rails_upgrade plugin. no 12:23 #225 Upgrading to Rails 3 Part 1 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. 2010年8月02日 00:00:00 -0700 http://railscasts.com/episodes/225-upgrading-to-rails-3-part-1 upgrading-to-rails-3-part-1 Ryan Bates 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 clea... 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. no 11:56 #224 Controllers in Rails 3 Embedded flash notices, permanent cookies, and the details of respond_with are in this episode. 2010年7月26日 00:00:00 -0700 http://railscasts.com/episodes/224-controllers-in-rails-3 controllers-in-rails-3 Ryan Bates Embedded flash notices, permanent cookies, and the details of respond_with are in this episode. Embedded flash notices, permanent cookies, and the details of respond_with are in this episode. no 10:49 #223 Charts There are a number of libraries to help create graphs. Here I show how to integrate Highcharts into a Rails app. 2010年7月19日 00:00:00 -0700 http://railscasts.com/episodes/223-charts charts Ryan Bates There are a number of libraries to help create graphs. Here I show how to integrate Highcharts into a Rails app. There are a number of libraries to help create graphs. Here I show how to integrate Highcharts into a Rails app. no 16:12 #222 Rack in Rails 3 The router in Rails 3 is fully compatible with Rack. Learn how to embed Sinatra into an app, handle redirects, and improve on Rails Metal. 2010年7月12日 00:00:00 -0700 http://railscasts.com/episodes/222-rack-in-rails-3 rack-in-rails-3 Ryan Bates The router in Rails 3 is fully compatible with Rack. Learn how to embed Sinatra into an app, handle redirects, and improve on Rails Metal. The router in Rails 3 is fully compatible with Rack. Learn how to embed Sinatra into an app, handle redirects, and improve on Rails Metal. no 8:48 #221 Subdomains in Rails 3 It is now possible to add subdomains to Rails 3 without the use of additional plugins. Learn how in this episode. 2010年7月05日 00:00:00 -0700 http://railscasts.com/episodes/221-subdomains-in-rails-3 subdomains-in-rails-3 Ryan Bates It is now possible to add subdomains to Rails 3 without the use of additional plugins. Learn how in this episode. It is now possible to add subdomains to Rails 3 without the use of additional plugins. Learn how in this episode. no 13:55 #220 PDFKit Generating PDFs in plain Ruby can be a lot of work. Instead, consider generating PDFs from HTML using PDFKit. 2010年6月28日 00:00:00 -0700 http://railscasts.com/episodes/220-pdfkit pdfkit Ryan Bates Generating PDFs in plain Ruby can be a lot of work. Instead, consider generating PDFs from HTML using PDFKit. Generating PDFs in plain Ruby can be a lot of work. Instead, consider generating PDFs from HTML using PDFKit. no 8:14 #219 Active Model In Rails 3 the non-database functionality of Active Record is extracted out into Active Model. This allows you to cleanly add validations and other features to tableless models.

AltStyle によって変換されたページ (->オリジナル) /