Joel Liu's Library tagged → View Popular
05 Mar 08
How to detect which language a text is written in? Or when science meets human! « The Nameless One
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 methodpy2rtimethat
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
-
- A user has to be able to login with the same credentials across multiple sites
- For convenience, we want a user to be logged in on site B if he had logged in on site A before
- If a user logs out of a single site, we want him to be logged out in all other sites as well
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:
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.
Selected Tags
Related Tags
Top Contributors
Groups interested in ruby
Related Lists on Diigo
-
Rspec Intro
RSpec is a Behaviour Driven...
Items: 11 | Visits: 234
Created by: Vincent Tsao
-
Ruby Stduy
start to study ruby
Items: 18 | Visits: 106
Created by: swan lin
-
ror-project
Items: 1 | Visits: 104
Created by: A. D.
Diigo is about better ways to research, share and collaborate on information. Learn more »
Join Diigo
