Skip to main content

Joel Liu's Library tagged ruby   View Popular

24 Jan 08

Code Commit: The End of the Ruby Fad?

  • It seems more and more these days like people just don’t want to hear about
    Ruby.  Ruby posts to link sites like DZone or Reddit get voted down before
    they have a chance to see the light of day.  Pointless flames litter the
    blogs, declaiming Ruby and alternatively crowning Groovy, Scala, Java or even
    XML in its place.  The sad thing is that no one seems to have found the
    middle ground yet
26 Jul 07

Universal Feed Parser in Ruby

  • The storage of dates in the *_parsed items (such as, updated_parsed,
    created_parsed, etc.) are in the Python 9-tuple format. While this is
    great for passing the date tests, Ruby has no good way of understanding
    these things. So, I wrote a helper method py2rtime that
    takes one of these 9-tuples as its argument and returns a Ruby Time
    object. It's placed in the top-level namespace, so you can call it
    anywhere in your code
07 May 07

poocs.net—Multi-domain single-signon

    • Single-signon is such a common feature request for many site networks. And while frequent at that, the powers that be impose difficulties on this task that make it a daunting experience for every web developer. In this piece, I’m outlining a practical approach for a hosted Rails application.



      Revisiting the definition of “single-signon” we’ll declare that this means:




      1. A user has to be able to login with the same credentials across multiple sites
      2. For convenience, we want a user to be logged in on site B if he had logged in on site A before
      3. If a user logs out of a single site, we want him to be logged out in all other sites as well
20 Jul 06

Basic User Authentication in Rails | Aidan Finn's home page

  • The rails way seems to be to put as much logic as possible into the models. To think of it another way, you should be able to run your application through all its important processes by calling methods on model objects at the console. More concretely core logic such as authentication and sending a new password should be in the model, not the controller.
1 - 20 of 81 Next › Last »
Showing 20 items per page

Diigo is about better ways to research, share and collaborate on information. Learn more »

Join Diigo