Joel Liu's Library tagged → View Popular, Search in Google
Mar
5
2008
Jan
24
2008
-
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
Jul
26
2007
-
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
py2rtimethat 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
May
7
2007
-
- 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:
Jul
20
2006
-
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: 236
Created by: Vincent Tsao
-
Ruby Stduy
start to study ruby
Items: 18 | Visits: 107
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
