Rails Magazine

RSSCategories
What I’m doing…
- RT @N2Vtweets: هل ترغب في السفر هذا الصيف؟ شاركنا في مسابقتنا الجديدة واربح رحلة سفر للمدينة التي تحب أو آيباد الجديد! http://t.co/t0gXU ... 1 month ago
- قمت بالإشتراك بمسابقة رحلة الأحلام من المبادرات الوطنية، واخترت باريس. سارع بالمشاركة http://t.co/fetBPpOo @N2Vtweets #N2Vtravel 1 month ago
- Donuts morning :) http://t.co/Br3D2bim 1 month ago
- تفاحة http://t.co/qLUnXGZE 1 month ago
- Just posted a photo http://t.co/nEgKxi36 1 month ago
- RT @N2Vtweets: "الكثير من احلامنا تبدو في البداية مستحيلة , ثم تبدو غير محتملة, لكن حالما نستجمع الإرادة, يصبح تحقيقها امراً محتوماً" كر ... 1 month ago
- Beware, politicians: 'Hunger Games' takes aim http://t.co/3WMHCfNy 1 month ago
- Watched "Hunger Games". Man, this is one of the best movies since 2 years. Really stunning, got my 10 mark! 1 month ago
- Did you start your #lifeline? http://t.co/HHUzLEU2 2 months ago
- Browsing the life line of Steve Jobs http://t.co/vwkRjGOI 2 months ago
Tags
App Engine arabic Book Business C++ CoffeScript currying delegation Design Patterns Desktop Application DSL dynamic method calling Encoding fun Functional Programming GAE Grails Internal DSL introspection Java Javascript JRuby localization Merb Merb + RoR3 metaprogramming mysql new Observer pass-by-refrence pass-by-value Prism Python rails rails 2.2 reflection Ruby Sinatra Singleton Stackoverflow Startup symbols test utf8 Web Application
Monthly Archives: December 2008
Ruby and Metaprogramming
According to wikipedia, Metaprogramming: is the writing of computer programs that write or manipulate other programs (or themselves) as their data, or that do part of the work at runtime that would otherwise be done at compile time. Well, nice … Continue reading
Posted in Ruby
5 Comments
Ruby and Internal DSLs
A Domain-specific language(DSL) is a computer language that’s targeted to a particular kind of problem, rather than a general purpose language that’s aimed at any kind of software problem. Domain specific languages have been talked about, and used for almost … Continue reading
Ruby callbacks
This blog post is about ruby’s callbacks(hooks): what are the available ones,and how practically we can use them? method_missing obj.method_missing(symbol [, *args] ) => result might be the most famous hook in ruby, and is being used a lot by … Continue reading
Posted in Ruby
10 Comments
Ruby reflection
If you are here, then most probably you want to know more about ruby reflection interface. Well that’s true, but I always find myself in need to explain few things before I get started with my posts, and this time … Continue reading
Arabs who are interested in Merb and Merb-book
So many developers from various countries had corresponded to Matt Aimonetti’s article on open merb book, and an early version of the book is out there. However lot’s of work is still needed in both directions: contribution and translation ,so: … Continue reading
What i liked most about rails 2.2
Well, finally it’s there, many important improvements were added to rails 2.2, and yet new things are on the way, you can check this blog post to check what’s new, while i’m gonna list here what i really liked about … Continue reading
Changing database encoding from latin1 to UTF8
Now a days, UTF-8 is the most used data encoding format, and the fact that your database is not using UTF8 encoding is really annoying, specially additionally when it comes to integrating different systems, that has no one unified encoding … Continue reading
Grails and Arabic localization
A little problem that i faced with grails , was setting the locale dynamically, i followed this nice article , and here is how i could manage it : I made a new file called messages_ar.properties that contains the arabic … Continue reading
