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.
Implementing an OAuth Provider
We just launched www.railsatwork.com, a blog to document how we use rails internally at a medium sized enterprise. Our first series is about how to setup authentication with oauth in rails 3.
Reducing PostgreSQL logging output in your Rails app
Executive summary: use silent-postgres. More details are on railsonpostgresql.com.
Don't know Ruby's ‘Chainsaw’ method?
Paolo Perrotta loves Ruby’s ‘Chainsaw’ method – method_missing(). Paolo shows you why, in this guest blog post on RubyLearning.
Transactional before all with RSpec and DataMapper
before(:all) isn’t transactional, but sometimes you want it to be. Let’s fix it!
irbtools / Release the power of irb!
Just another alternative to Utility Belt: irbtools. It’s a meta gem which installs some great other gems like: interactive_editor, guessmethod, clipboard, wirble, hirb, awesome_print, zucker, ...
More information & screenshots in this blog entry.
Observables, observable Ruby collections
Observables is a gem for enabling subscription based change notifications on Ruby Hashes and Arrays using the ActiveModel::Notifier API. Intended for enabling richer dirty tracking of in place modifications to embedded collections in models (as commonly found in Document Oriented database applications). http://www.github.com/PlasticLizard/Observables
Nested Transactions, DataMapper, Postgres
Hacks to fake nested transactions with savepoints in datamapper.
Instapaper meets video
I’m getting ready for Rails Rumble, my idea is Instapaper meets video, and would really apprecites <5 minutes of your time for a quick Survey
Gem Sawyer, Modern Day Ruby Warrior
If you’re fresh to Ruby and haven’t really learned what RubyGems can do for you yet, you’re about to find out in Nick Quaranto’s guest blog post on RubyLearning - “Gem Sawyer, Modern Day Ruby Warrior”.
ruby-plsql-spec gem: Oracle PL/SQL unit testing with Ruby
ruby-plsql-spec gem is Oracle PL/SQL unit testing framework which uses Ruby, ruby-plsql and RSpec to create PL/SQL unit tests. New gem version includes easy command line utility as well as “rcov-like” PL/SQL code coverage reporting.
10 Points How Cells Improves your Rails Architecture
What steps does it take to improve your architecture with Cells? This article discusses the best practices from keeping views dumb, via slim controllers, how to avoid messy helpers, through to hiding your caching strategy and component-oriented teams.
Rails 3 with jquery UJS quick example
I just posted very simple example of Rails 3 app with unobtrusive jquery.
ruote 2.1.11 released
version 2.1.11 of ruote, a workflow engine has been released. Many updates are included, and the web interface, ruote-kit, got seriously reworked.
ChunkyPNG 0.10 and OilyPNG release.
I just released ChunkyPNG 0.10, my pure Ruby PNG library. The new version includes some big performance and memory improvements. I also released OilyPNG, a C module that instantly speeds up PNG decoding in ChunkyPNG even more. [more inside]
Use query attribute
I have wrote an article Use query attribute, it gives you a hint that you should use query attribute to simplify check if ActiveRecord’s attributes exist or not.
An Introduction to Outside-in Development
Harold Giménez introduces us to Outside-in Development that helps add value to a product’s users and stakeholders. A guest post on RubyLearning.
OmniAuth: Flexible Multi-Provider Authentication
Just launched OmniAuth, a unified authentication middleware for Rack that works with everything from Twitter to LDAP.
Redcar 0.7
The new version has macros, predictive macros, nice tabs, and experimental SVN integration. Check it out!
newsite 0.0.1 has been released!
Newsite is a command line tool that creates a skeleton template for your static websites.
Rchart Charts And Graphs For Ruby
Rchart is ruby port of the slick pChart charting library.Using Rchart we can develop various format of chart. Line,Cubic Curve,Bar,Pie,Filled Line,Stacked Bar chart and many more. More Info available here.
Ruby Forensics
Elise Huard introduces us to introspection – Ruby’s capability to determine the type of an object at runtime. A guest blog post on RubyLearning.
Share data between processes easily and naturally.
Barney tries to make sharing data between processes as easy and natural as possible. 0.1.0 has been released, and it’s available as a gem(gem install barney), as well as on GitHub
Entity-Relationship Diagrams for Rails 3 applications
Being unsatisfied with the existing solutions, I recently wrote a brand new Rails gem/plugin to create Entity-Relationship Diagrams based on your Active Record models. [more inside]
Ruby the polyglot
An article about some runtime language embedded in ruby. The english version with google translate is here.
clipboard
Hey, I’ve put together this little clipboard gem which allows to access the clipboard on Liunx, MacOS and Windows. You simply say Clipboard.copy("string") for copying and Clipboard.paste for pasting.