The Ruby and Rails community linklog
Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!
Submit a post
Post Preview
Note: Only the first pargraph is shown on the front page and overly long paragraphs may be broken up.
Dupping Our Way Out Of Instance Eval?
A souped up version of instance_eval in the vein of mix_eval
Object2module
Convert Classes and Objects to Modules so they can be extended/included.
Matt Aimonetti: Why on earth would you ignore Merb?
Matt Aimonetti (a Merb core team member) talks to RubyLearning on all aspects of Merb in this interesting interview - Why on earth would you ignore Merb?
Rails File Upload With Paperclip
There are a few options to uploading files when it come to Rails, theres file_column, attachment_fu just to name the popular few, but theres a new kid on the block, its Paperclip by Thought Bot. Find out how to use it!
Parameters signature matters in method call and dispatch speed
I ran some benchmark and discussed the findings. Interesting only if you’re ocd like me about performance.
Wycats Responds to DHH's 'Merb Bullshit' video!
Wycats says it’s about helping Ruby win and growing the ecosystem. Encourages everyone to stay positive.
Merb dependencies and bundler have been conquered. Watch the screencast!
People’s main gripe has been that the dependencies and the bundling solution that was available with Merb 1.0 has been quite painful. Fixing all this has been the focus of this past week, and with the Merb 1.0.5 release comes a new solution. Watch the screencast demonstrating all those new features.
DHH has a problem with Merb's "bullshit"
Rather unusually, a video of David Heinemeier Hansson commenting on Merb’s recent PR joust with Rails has cropped up on Vimeo. In it he appears to be fed up with the “amount of bullshit” coming from the Merb group. Whether this video was uploaded by David himself or not is uncertain (I believe he doesn’t like the initialism “DHH” so it seems odd for that to be his username).
Rails 2.3's Metal
DHH has introduced Rails Metal to edge Rails (to become Rails 2.3) - a Rack middleware for processing low-level requests (hence “on the metal”) without putting them through most of the Rails stack.
AJAX Scraping with scRUBYt! - LinkedIn, Google Analytics, Yahoo Suggestions
Sraping some non-trivial AJAX pages with scRUBYt!
Rhodes: Develop Ruby apps for the iPhone / Windows Mobile / BlackBerry
Rhodes by Rhomobile is a new solution for writing Ruby client applications on the iPhone, Windows Mobile and BlackBerry. The apps have access to GPS, Accelerometer, etc. To be completely cross platform, the GUI is defined using regular HTML, with special tags for the advanced features (GPS,…).
Do you know any Indian Rubyists who Tweet?
The search is on for the missing tribe of Indian Rubyists who tweet (and based in India). Surprisingly, very few Indian Rubyists tweet. Wonder why? Either they are too busy hacking away code; making money; poor internet access away from work (at work most Rubyists are not allowed access to social networking sites). Do you know any?
Tutorial on building OOP game in Shoes
If you need to teach someone (or yourself) OOP and Ruby, there’s nothing better than a game. Read extensive walktrough of building simple game with bunch of sheep and a dog in Shoes framework or browse the source code. (Different steps of building the code are saved in Git tags for easy switching between versions.)
Merb 1.0.6 Released!
“Merb 1.0.5 was released yesterday, with a quick release of Merb 1.0.6 to resolve a few issues. The release included a number of small fixes as well as a brand new bundler.” –> Yehuda Katz, blog post with release details
Ruby Inside's Peter Cooper talks to RubyLearning
Ruby Inside’s Peter Cooper talks to the RubyLearning participants. Peter Cooper reveals his secrets for success at Ruby programming.
Top Brazilian Rubyists to follow on Twitter
We need some Ruby and Rails love! Who do you think are some of the Top Brazilian Rubyists to tweet with? Post your list as comments at the “Top Brazilian Rubyists to follow on Twitter” blog post.
glTail + Chipmunk = Server Monitoring with a bounce!
After getting one too many requests to have the glTail balls do something, I’ve integrated Chipmunk for 2D Physics. Resulting movie & code here.
Fukuoka Ruby Award - Now accepting applications. $10,000 first prize.
Fukuoka Ruby Award - The Government of Fukuoka Japan, together with the Fukuoka Ruby Award Selection Committee, is excited to announce the opening of the 2009 Fukuoka Ruby Award Competition. Completed entry forms must be received by 11:59 PM on December 25, 2008 to be eligible. Top prize is about $10,000. Free to apply. This is an excellent opportunity for individuals and groups looking for recognition for recent projects. Good luck!
RubyDeveloper.Info
RubyDeveloper.Info is an open source Ruby community that has started off with nearly no features. It’s premised instead on letting the community develop the features it wants for itself. You can find the source code on Github and should join the Google group, if you’re interested in helping out. Finally, the site is invite only, but feel free to email me for an invite: foysavas@gmail.com
Satish Talim - Ruby Evangelist and Facilitator
Satish Talim is an established web site development expert (over 30 years of experience in the industry!) based in Pune, India. He’s most recognized in the Ruby community for his ongoing work with his Ruby Learning group of sites. He’s also built up a strong following on Twitter.
Phusion Passenger 2.0.6 released
This is a minor bugfix release. Please read the Phusion blog for the announcement.
Top Ruby Merbists to follow on Twitter
We need some Ruby and Merb love! Who do you think are some of the Top Ruby Merbists to tweet with? Post your list as comments at the “Top Ruby Merbists to follow on Twitter” blog post.
Ruby on Rails - Are you a Member?
Often in a enterprise, ActiveDirectory is used to verify access to application. Now using a simple library, and ruby_net_ldap you can verify that the user is a member of a group. Very fast, and very easy. Goes well with mongrel NTLM authentication to give you applications that are easy to administer in a Windows domain/enterprise environment.
Single Signon in Windows using NTLM and Mongrel
For enterprise apps, you often want a seamless experience to the user. Needing to maintain multiple user-name and passwords interferes in having the seamless experience. Windows IIS offers this using NTLM. Now using Mongrel and a additional filter, you can have rails application support single sign-on. Mongrel-NTLM passes the users windows login directly to your application.
How-to: Easy Upload via URL with Paperclip
I’ve been using Paperclip to handle file uploads lately, and I wanted to be able to accept file “uploads” via URL.