Adding Gmail IMAP directly into a Rails application is quite easy. As Pramod explains in this post.
Author: Gautam Rege
How The Contribution To Open-source Projects Looks Like
A “straight from the heart” post by Rishi about contributing to open-source projects. This post is more about why you should contribute, how people help out and how satisfying it is.
Here is a quote from the post that sums it all up – “The only regret I have is, why did I start so late …”.
Learning shall never stop..!!!
Today I would like to share what I have learned from the very little open-source contributions I have made so far. But before I do that, I would like to write a little bit about myself. I am ruby on rails developer at JoshSoftware for the past 3 years. Before that I was studying Electronics in Pune Institute of Computer Technology, Pune. Yes.. you read that right. I was an electronics student in computers college. The reason I am laying out the details is, I do not want you to think that I am some big shot who has been working for a decade. I am just a guy who likes to write programs and do web development.
So, here is the list of hurdles I came across until I made my first open-source contribution:
1. Which projects should I contribute to?
Thats a valid question. There are tons of…
View original post 740 more words
Part 5: Ruby Through Rails — Bundler Dsl
In this post, Sanjiv explains what happens under the hood when we do “bundle install”. While learning in detail about how are gems loaded, we learn a few useful Ruby tips and tricks and see some meta-programming at it’s pristine best!
Note: All path are relative to bundler gem path. For these blog, i am currently using ruby 2.1.2 and bundler 1.6.3.
While going through Bundler source code earlier, we have seen how bundler evaluates the Gemfile and creates function for each of keyword like gem, source and etc. Now we are going to see the implementation details of a few of these functions. Here is the `gem` function.
The `gem` function accepts one mandatory parameter – the name of the gem and other parameters is an array (called splat parameters). These can be any of :version, :git, :github, :platforms, :source or :group. The * operator (pronounced “star,” “unarray,” or, among the whimsically inclined, “splat”) does a kind of unwrapping of its operand into its components, those components being the elements of its array representation. This function first checks if gem name is provided as symbol and if it is, it throws an exception. The…
View original post 956 more words
