RubyFlow The Ruby and Rails community linklog

×

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

You can use basic HTML markup (e.g. <a>) or Markdown.
Note that your post may be edited to suit the format of the site.

As you are not logged in, you will be
directed via GitHub to signup or sign in

Post Preview

Note: Only the first pargraph is shown on the front page and overly long paragraphs may be broken up.

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]

Links. Github project Hell’OO HomeMarks …

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]

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

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! :)

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.

Doh! I wish there was an edit function, or something. ;)
post link here.
Edit function coming soon :)
Loading older posts