Please read for an updated status on RailsCasts:
Learn more or hide this
GitHub User: 12eebok
Are there any big advantages to upgrading to Rails 4 - I'm a little familiar with some of the new features that are offered and none of them sound appealing to me at the moment.
What is the purpose of the :type column for the User model in the STI example? I don't see the point of this, a User record is never even instantiated?
Great episode. For those of you who want access to the additional twitter bootstrap alert message types in addition to success and error try the following code:
<div class="alert alert-<%= name == :notice ? "success" : "error" %>">
<div class="alert alert-<%=(name == :notice && 'success' or name == :warning && 'warning' or name == :info && 'info' or 'error')%>">
There seems to be a syntax error in the ASCIIcast for the ajax search jQuery. Bardwin's coffee-script worked for me however.
There should be a revised episode for this, or are there better options to use nowadays?