Category: Apple
Date: 2010-08-23 12:55

Migrating mail from MS Outlook to Apple Mail

Ever tried moving your mail from MS-Outlook to Apple Mail? It's not even supported by neither Microsoft nor Apple. Apple refers to three third-party applications. I tried one - the cheapest. It's O2M by Little Machines but did not work out for me.

What a hassle

O2M is the paid option. It generates MBOX styles mailboxes which you can import directly into Apple Mail. Unfortunately Apple Mail will not set correct headers and time stamps on importing. It will leave your sent-box a mess although this is not immediately clear.

The other - free - option is downloading Thunderbird on your Windows machine and import your Outlook into it. Then you just copy your Thunderbird profiles folder to your Mac and choose import from Thunderbird. Unfortunately this option cannot be trusted neither. Some folders are ignored, attachments as well, headers are incorrect.

Eudora Mailbox Cleaner

Luckilly there is Eudora Mailbox Cleaner to the rescue. It handles more than the name suggests. You can just drop your Thunderbird profiles folder - compact your folders first - onto this wonderfull app and it will correctly import your mail folders and attachments. After having done that, just rebuild every folder in Mail - try applying a short-cut - and you're done!


Category: Ruby on Rails
Date: 2010-08-20 23:06

HTML5 helpers for Rails 2.3.x

Eager on using HTML5 in your Rails projects without upgrading to Rails 3?

For those I've ported the HTML5 FormHelpers and FormTagHelpers from Rails 3 back to Rails 2.3.x. So you can now use:

 

<%= f.email_field(:email) %>

<%= email_field_tag(:user, @user.email) %>

All helpers are Rails 3 compliant so after updating to Rails 3 just remove the plugin.

Category: Ruby on Rails
Date: 2010-07-27 15:29

Rails will_paginate with acts_as_ferret

I wanted to use pagination in one of my Rails projects where I was also using the acts_as_ferret plugin. Now normally one would use

@collection=Model.paginate(:page=>params[:page])

in the controller and in the view render with:

<%= will_paginate @collection %>

But with acts_as_ferret the controller will contain:

@collection=Model.find_with_ferret(params[:search], {:page=> params[:page], :per_page=>Model.per_page})

This is not a problem however. Acts_as_ferret is compatible with will_paginate. Your default will_paginate() helper will still be working.

Category: Javinto
Date: 2010-06-15 09:44

Welcome

Welcome to my homepage!

Finally realized one after lacking the time, satisfying all my customers and exploring all kinds of new developments in our digital world. 

I regularly feel the need to share my experiences with other developers and now hope so to be able to.

So, stay tuned for postings on Flex, Ruby on Rails, PHP, jQuery, XML, etc.