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.
Colorist: Color Manipulation Gem
Colorist is a new gem for easily manipulating colors with an emphasis on simplicity for web-oriented uses.
Going Camping – A Web Microframework in 4k Ruby by Jeremy McAnally
S6/S9 Slide Deck of the Week: Going Camping – A Web Microframework in 4k Ruby by Jeremy McAnally @ GoRuCo (Gotham Ruby Conference) - Adapted S6/S9 (Single-Web) Version (S6/9 Tip: Use T-Key to Toggle Between Outline and Slide Show View)
HomeMarks v2 - A Case Study of an Unobtrusive JavaScript-based Rails App
HomeMarks was built using the Ruby on Rails framework with a heavy emphasis on object oriented JavaScript to make AJAX requests to a RESTful back-end. Unlike most Rails applications it does not use any inline JavaScript helpers nor does it rely on RJS (Remote JavaScript) for dynamic page updates. Instead it is nearly 100% unobtrusive JavaScript, resulting in slim controller code easily decoupled from the views and testable in isolation at a functional level. [more inside]
New Authentication Library for Merb
Coming soon to merb: a new way to look at authentication.
New Git Logo
A New Git Logo? The Git logo is really cool in concept but poorly done. I’ve tried to make it a bit pretty and you can check out the result of my work here. Feel free to use it.
Rails Plugin: dynamically_tags
Rails Plugin: dynamically_tags: I wanted a way to allow a user to enter text into a field, and have that text automatically reference existing objects based on its content. For example, a user types a comment into a blog: “I think Chicago is a great city.” Somewhere in the database, there’s a City object with a :name field that contains “Chicago”. I want my application to realize this, and then DO something with that information. Most importantly, I want that linkage to persist, even if changes are made to the City object. And, finally, I don’t want my application to have to scrape through ever bit of rendered text and compare it to every existing object each time that someone requests that information. [more inside]
The Missing default_proc=
Anyone knows why Hash#default_proc= doesn’t exists?
Readable Specs: it renders, it assigns, it flashes
Readable Specs: it renders, it assigns, it flashes - response.should render_template(”new”) => it_renders :new
Require/Load Profiler
A little script to profile how long your requires and loads take. Helpful when identifying files for autoloading, and hence, quicker script execution.
RedCloth Mini-Cookbook: How Tos, Recipes, F.A.Qs
RedCloth Mini-Cookbook: How Tos, Recipes, F.A.Qs – Using the Ruby Plain Text to Web Markup Gem
Part 2 of Adam Key's Rails TakeFive interview with David Flanagan
FiveRuns has posted this week’s Rails TakeFive interview, Part 2 of Adam Key’s talk with noted author and developer David Flanagan on the craft of programming. Check it out here.
APIdock launches with Rails, Ruby and RSpec
APIdock launches with Rails, Ruby and RSpec. The launch has started smoothly and older versions of Ruby are being imported. APIdock is a web app that provides a rich and usable interface for searching, perusing and improving the documentation of projects that are included in the app.
Unlocking The Power Of Case Equality: Proc#===
Range, Class and Regexp all implement their own version of ===, so why not Proc?
Rails and SSL
Sometimes it’s necessary to encrypt traffic from some parts of site. Thereto you had to use HTTPS protocol. HTTPS is widely used all over the WEB world in applications demanding safe connecting, for example, in payment systems. Rails developers confronted by some problem: Mongrel and Webrick do not support SSL encryption. Read about Rails and SSL on Hash Train blog
3 Things To Do When Announcing a New Release
3 Things To Do When Announcing a New Release. I really like finding out when new ruby projects are released here on Ruby flow, but far to often I have no idea what is being announced. I have therefore written a blog post with suggestions for how to write better release announcements.
Rails i18n API demo app at Github
A demonstration app is available at Github: http://github.com/karmi/rails_i18n_demo_app/tree/master if you want to play with new Rails i18n API, which will be in Rails core in some time and the life would be a wee bit easier again :) The app was extracted why I was following a great tutorial at http://almosteffortless.com/2008/07/21/simple-localization-in-rails-22 one summer evening. Don’t forget it requires rake `freeze:rails:edge:, as the README states, SRSLY! :)
The Ruby Hoedown in 10 minutes
The Ruby Hoedown in 10 minutes. If you didn’t make it to the Ruby Hoedown last weekend in Huntsville, Alabama, check out this 10 minute summary video I put together.
Ruby Hoedown 2008
I posted a small overview of the Ruby Hoedown in Huntsville, AL.
Ruby 1.9: What to Expect by Sam Ruby (Adapted S6/S9 Version)
Ruby 1.9: What to Expect (What’s Changed? What’s New?) by Sam Ruby @ OSCON 2008 Slide Deck Adapted S6/S9 (Single-Web Page) Version (S6/S9 Tip: Use T-Key to Toggle Between Outline and Slide Show View)
Juggernaut on Rails - Sending Private Messages
Taelor from SlightlyCoded has written another post about Juggernaut, Juggernaut on Rails - Sending Private Messages. The example that has been built through the last few posts is now up on GitHub, its called Chat_Sandbox.
Cookie Sessions and Security
I’ve noticed that a lot of open-source rails apps come with a secret key used for cookie sessions checked into their public repo. My worry is that this key may be used by others in production, which could cause a security concern. If you think you might be affected, read more on the rails core list.
REST for Rails Workshops coming to Austin, TX
We’re happy to announce REST with Rails, on Saturday, Oct. 4, 2008 in Austin, Texas. For newcomers to Rails and/or RESTful design.
Asynchronous Databases: DBSlayer and HTTP
Scale your database with the help of an asynchronous DB access layer - how to guide for DBSlayer and MySQL, with sample Ruby EventMachine and Net/HTTP code.
Asynchronous Databases: DBSlayer and HTTP
Scale your database with the help of an asynchronous DB access layer - <a href=”http://www.igvita.com/2008/08/11/asynchronous-db-dbslayer-http/” rel=”nofollow” how to guide for DBSlayer and MySQL</a>, with sample Ruby EventMachine and Net/HTTP code.