All blog posts tagged with ruby

Apple Todo.webapp

Posted October 3, 2010

Last night I was struck with an idea, so today I started the coding part and ended up with  a library to pull down (over IMAP) and parse Apple Mail.app formatted todos. Surrounding this library with a light weight Sinatra layer.

Git repo

Read more

JQuery Date/Datetime picker

Posted April 18, 2010

I recently ran across this helpful post on a Merb Datetime picker and it was good, that is until I wanted to use the JQuery Date picker. Well a bit of hacking later we have this:

<%= form_for @person %>
  <%= jquery_date_field :birth_date :label => 'Birthdate' %>
  <%= jquery_datetime_field :birth_d…

Read more

Datamapper paranoid delete quirks

Posted April 15, 2010

Recently discovered some quirks while working with Datamapper (ver 0.10.2). If you want to fetch deleted objects you need to use the syntax:

Model.with_deleted { Model.all }

Which by the way will only find deleted objects, if you want all the objects your going to have to do something like

Model.wit…

Read more

Merb, Authentication, BasicAuth and trouble (version 1.0.7.1)

Posted January 19, 2009

Putzing around with Merb and it's authentication plugins (merb-auth-core, merb-auth-more, merb-auth-slice-password) trying to get BasicAuth working for a web app.  While setup of the HTML form authentication was easy the BasicAuth didn't appear to work, it would continue to display the form requesti…

Read more

Displaying all 4 posts