Rails Magazine

RSSCategories
What I’m doing…
- Building a MultiLingual Siri Support - Voice To Voice - Part 2 http://t.co/7iSUruIs 20 hours ago
- @ahm1 enjoy it buddy! 3 days ago
- A must read: The Hacker Way http://t.co/cbIOUvcy #Startup #N2V 3 days ago
- Just updated my website, a better look? http://t.co/mosvANnx 2 weeks ago
- I just upgraded my PC to Infinite storage with Bitcasa! You should too! http://t.co/qcLIqulP via @Bitcasa 2 weeks ago
- محشش حب يترجم للغه الانجليزيه : من يضحك اولآ يبكي اخيرآ فقال: Who haha first, he hehe last #LOL 2 weeks ago
- مبدئيا: يلعن روحك يا برشلونة #RealMadrid 2 weeks ago
- Excuse me dear fellows, but I don't believe in content startups any more in the Arabic world. Time for products based ones #N2V 2 weeks ago
- A new blog http://t.co/2dN5aE5f by @moski_doski 3 weeks ago
- #300DaysLater May their souls forever rest in peace, those who sacrificed for a better #Syria 1 month 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
Category Archives: Ruby
Delegation in Ruby
This is my first article in http://railsmagazine.com, it was published in issue 1, so basically I’m just republishing it here again. “Separate changeable parts from others that remain the same” and “composition is preferred to inheritance” are 2 common design … Continue reading
C++ passes by reference, Java and Ruby don’t
I got a lot of comments for the previous article, that was explaining how Ruby passes by value, just like Java does. I thought that showing a simple example implemented in C++, Java and Ruby will clarify the idea. In … Continue reading
Ruby, pass by value or by reference?
It’s a basic question that I myself had a problem with when i started using Ruby: Does Ruby pass by value or by reference? Well, if you want a direct answer, then: Ruby passes by value. It’s a similar behavior … Continue reading
The power of JRuby
It’s true that I’m not the qualified guy to talk about Java’s power,as it has been 2 years since i last practiced it, but i feel like i have to communicate my thoughts to the people that didn’t give JRuby … Continue reading
Ruby symbols
I keep seeing many programmers from different backgrounds are unable to get what Ruby symbols are, and though I do know that there are many great posts regarding this topic, and actually my intent is not to increase them by … Continue reading
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
9 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
