Testing your Rails plugin

When I first released both ArabicHelper and SimplySearchable I didn’t have any tests for them because I didn’t know the right way to write those tests. After doing some digging and looking at other plugins tests I found out how, and I’m sharing that here with you.
Specifically for ActiveRecord extensions you need a database and [...]

001

Articles Permanent Link

SimplySearchable plugin

Update 1:Associations support has been implemented.
Almost a year ago I released SimplySearchable plugin to help me implement the filtering options of restate.ae and during this year I’ve been updating it regularly until it become something completely different so I did a quick rewrite, moved all the logic to the model, moved the repository to github [...]

8

Articles Permanent Link

DemoCamp Dubai 3

The third DemoCamp in Dubai, United Arab Emirates will take place at the Radisson SAS in Dubai Media City on October 28th at 7:30PM. We took a break after the second DemoCamp in Dubai for the slower summer months and for Ramandan; therefore, we are happy to announce that we were able to reserve the [...]

001

Articles Permanent Link

ArabicHelper Plugin

After working on several Ruby on Rails projects in Arabic lately I ended up repeating some functionality to support Arabic localization, specially on the Model and View levels so I decided to create a plugin for that, and I called it ArabicHelper.
I’ve been also following the updates in rails-I18n and did some work on the [...]

12

Articles Permanent Link

restate.ae case study at EIG

Thanks to Abdullah Al Muheiri (aka serdal), I will have the chance to give a talk case studying restate.ae today at the Emirates Internet Group.
I know it’s a bit late to announce the talk, but my fault was in not announcing it unless restate.ae new design is up; well, the new design implementation took longer [...]

3

Articles Permanent Link

Haml syntax highlighting in TextMate

I’ve been using Haml in every project I’ve been working on in the last couple of months. I really encourage every Rails developer to start using it because it really makes your life easier and keep you away from the ugly erb code.
Of course if you are using Textmate, you will immediatly ask for a [...]

000

Articles Permanent Link

Beginning Rails

Few days ago Cloves Carneiro Jr. my partner and co-founder in SpinBits got his first book out, . It’s a Rails book, published by Apress and co-authored with Jeffrey Allan Hardy, the man behind Quoted Printable, and Hampton Catlin the one behind HAML the famous templating engine for Rails..
If you follow Ruby and Rails blogs [...]

000

Articles Permanent Link

Ruby on Rails UAE Meetup in Dubai

It is always exciting to see more of Ruby and Rails here in the Middle East and specifically in Dubai, UAE. Since our first (and only) RailsUAE meetup six months ago we didn’t have much activities, but now with the Google Group and its active members, we start having more discussions and what’s more important [...]

8

Articles Permanent Link

Launching restate.ae, The Dubai Real Estate Portal

Today June 17th, we at SpinBits are proud to announce the launch of restate.ae, the web application that expresses our vision in creating quality web application for the region.

restate.ae is a real estate portal for the city Dubai, but it’s not just another portal out there, it’s built from our need to be able to [...]

7

Articles Permanent Link

Autotest Growling in Red & Green

Here is a quick scenario.. You have over 200 tests and 800 assertions for your Rails application and you always run them before every subversion commit, but because you love tests so much or maybe you’re doing some TDD you want these tests to be running all the time.
You need ZenTest and its [...]

7

Articles Permanent Link