Asciicasts.com
#20

ASCIIcasts - Recent Episodes

A variety of short articles about Ruby and Rails based on Ryan Bates' Railcasts.

Link: asciicasts.com

  • @josh_hepworth bcrypt usage pre-has_secure_password

    250 - Authentication from Scratch”

    asciicasts.com 28 Feb '14, 7pm

    Engines definitely have their place and there’s no reason not to keep using them but you might want to consider the alternatives. Generators can be a better fit for authentication than engines, all the code is there in your application and therefore it’s easier to customize. For examp...

  • simple configuration login, not using gem

    “Episode 274 - Remember Me & Reset Password”

    asciicasts.com 08 Apr '13, 9pm

    The authentication we implemented in those episodes was fairly basic so in this episode we’ll add a couple of new features to make it better. First we’ll add a “Remember Me” checkbox to the login page so that users can choose to be logged in automatically then we’ll add a “Reset Passw...

  • “Episode 396 - Importing CSV and Excel”

    asciicasts.com 02 Jan '13, 1am

    In episode 362 we showed how to export database records to a CSV or Excel file. Since then there have been a number of requests for an episode showing how to import records from these types of files so that’s what we’ll cover in this episode. We’ll do this by adding a form to the bott...

  • Neat! Decent Exposure makes it easier to write concise controllers:

    259 - Decent Exposure”

    asciicasts.com 19 May '13, 4pm

    In this episode we’re going to look at a gem called decent_exposure . This is a simple gem with a nice concept. We can use it to create an interface of methods in the controller that the view can access instead of using instance variables. The gem uses a method called expose to define...

  • この記事参考になる。ネットのrailsのバリデーション情報間違いまくりで全然役に立たない…。- Validations in Rails 3

    211 - Validations in Rails 3”

    asciicasts.com 25 Oct '13, 12am

    Another new feature in Rails 3 is the ability to reflect on validations. We can use this if, for example, we want to put an asterisk next to each field in the form that is required. Previously to do this we’d have to install an external plugin so that we could determine which validati...

  • public_activity // social network-style / “ASCIIcasts - “Episode 406 - Public Activity””

    406 - Public Activity”

    asciicasts.com 05 May '13, 4pm

    Another potential issue is that in Comment calling controller.current_user raises an exception if we try to create a record outside the current request as there won’t be a controller. We’ll check to see if there is a controller here before trying to fetch the current user from it. /ap...

  • 242 - Thor”

    asciicasts.com 05 Aug '13, 2am

    $ thor help Tasks: thor help [TASK] # Describe available tasks or one specific task thor install NAME # Install an optionally named Thor file into your system tasks thor installed # List the installed Thor modules and tasks thor list [SEARCH] # List the available thor tasks (--substri...

  • ASCIIcasts - “Episode 330 - Better SASS With Bourbon”

    asciicasts.com 12 Mar '12, 3am

    To use Bourbon with Rails’ asset pipeline we’ll need to change the way that the default application.css file works. By default this file will use a Sprockets manifest to load each of the other stylesheet assets. The problem with this is that Sprockets compiles each SASS file into CSS ...

Related

railscasts.com
RailsCasts: Ruby on Rails Screencasts
rubyinside.com
Ruby Inside: The Ruby Blog
guides.rubyonrails.org
Ruby on Rails Guides
rubyweekly.com
Ruby Weekly: A Free, Weekly Ruby E-mail Newsletter
railsforzombies.org
Rails for Zombies: Code School
ruby.railstutorial.org
Learn Web Development with the Ruby on Rails Tutorial