Tag: ruby
-
Hiding In Plain "Site"
I've written a program called PicInHTML, which makes web pages with concealed images which are shown when text on the page is selected. What's clever about these page are how they work: they're a single file, with no dependence on images nor Javascript, and they work by leveraging the little-used ::selected CSS selector. Each individual โฆ
-
SSL Client Certificate Authentication In Ruby On Rails
I've been playing with using client-side SSL certificates (installed into your web browser) as a means to authenticate against a Ruby on Rails-powered application. This subject is geeky and of limited interest even to the people who read this blog (with the possible exception of Ruth, who may find herself doing exactly this as part โฆ
-
RUBY: RubyIdioms
Bookmarked via del.icio.us: RUBY: RubyIdioms.
-
Writing A Calendar App In Rails Vs. PHP
Some time ago, I wrote a web-based calendar application in PHP, one of my favourite programming languages. This tool would produce a HTML tabular calendar for a four week period, Monday to Sunday, in which the current date (or a user-specified date) fell in the second week (so you're looking at this week, last week, โฆ
-
Ruby Active Record Associations [PNG]
Bookmarked via del.icio.us: Ruby Active Record Associations [PNG].
Understanding has_one, has_many, belongs_to, etc.