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.
Creating Gradient Backgrounds with Ease in Ruby Motion
Just published this blog post showing how I created gradient backgrounds without images using Ruby Motion.
Annotate them all!
Annotator is gem to document your model attribute. You might heard of AnnotateModels, which gives you basic column description (title, type etc.) in your model file. With Annotator, in addition to such basic info, you can add comments to the columns.
markdown_select 0.1 - Another Markdown Wrapper to Let You Use Your Library of Choice
I’ve extracted the code for handling the loading and selection of different markdown libraries (such as kramdown, bluecloth, maruku, rpeg-markdown, rdiscount, pandoc-ruby, etc.) from the Slideshow gem and bundled up in its own gem, that is, markdown_select.
Claws 1.1 Released
Claws provides a command line interface to your Amazon Web Services account. With this release it now properly supports multiple regions allowing all instances to be reported along with their region displayed. Check out a screenshot of the update on github. You can also read the initial announcement on rubyflow here.
Data Context Interaction (DCI) in Ruby
DCI (Data Context Interaction) is a new way to look at object-oriented programming. Instead of focusing on individual objects, the DCI paradigm focuses on communication between object. It improves the readability of the code, separates system behavior from static domain concepts, and most importantly tries to represent people’s mental models in the code. DCI-IN-RUBY.INFO is a project aiming to help all Rubyists become familiar with DCI.
Easily deploy to multiple environments on Heroku with heroku_san
Published a blog post about how to use heroku_san to deploy to multiple environments, and manage your applications.
Going Dynamic on JVM: JRuby vs. Groovy
Want to run your apps on the JVM, but not a fan of the Java language? If you prefer dynamic languages, there are lots of available options. The most mature ones are JRuby and Groovy. If you are asking yourself, “Should I pick Groovy or JRuby”, read this post and, hopefully, you will be able to make the decision. Read more…
Abstraction Creep
Abstraction creep: When you try to save yourself from a shaky abstraction by introducing another abstraction, instead of just fixing that abstraction.
Introducing Claws (Command Line AWS) 1.0
Amazon AWS users are all to familiar with the steps required to connect to an available instance. Using the management console you have to copy and paste the public dns name into the shell to construct the ssh command. It is annoying when the mouse isn’t placed just right and your clipboard is filled with more than what you want. [more inside]
Beautiful Front End Code in Chicago June 27-29
We’ll be doing another iteration of Beautiful Front End Code in Chicago at Groupon HQ June 27-29. We’ll be cramming as much jasminey, backboney, coffeescripty hands on coding goodness as is humanly possible into 3 action packed days. Be there!
Polyglot image processing performance shootout with Ruby, Node.js and Go
I’ve just published a blog post about on-the-fly image processing over HTTP.
Heroku Cedar Stack now in General Availability
Starting Now on Heroku, Cedar Stack is in General Availability. Now you get all the things you love about Heroku defaulted to the latest and greatest stack.
Resque: automatically kill stuck workers and retry failed jobs
If you use Resque for your background jobs, and have to manually intervene when workers get stuck or jobs fail for some reason, you might find this tip useful. It’s a simple way of monitoring for stuck Resque workers, and automatically kill those workers and retry failed jobs.
ActiveRecord Callbacks are Unreasonable
I wrote a blog post discussing ActiveRecord callbacks and the challenges they present to reasonable code.
Oauth: A Tale of Two Servers
What exactly is OAuth 2, and how can you use it to access data on sites like Facebook? We’ll take a quick look at how servers can use OAuth to talk to one another.
Vermont's First Ruby Conference, July 28 - 29, 2012
As mentioned in this week’s issue of Ruby Weekly, Burlington Ruby Conf 2012 will take place in Burlington, Vermont on July 28 - 29th. Join like-minded Ruby enthusiasts for Vermont’s first Ruby conference, hosted on beautiful Lake Champlain. Besides an amazing lake setting and great presentations from well known industry speakers, you’ll be joining peers from around the region to network, eat good food, and discover new opportunities. We hope to see you there! For more details, head to http://burlingtonruby.com/
BitNami Redmine 2.0 released
We just released BitNami Redmine 2.0.0 Stack. This new version of Redmine adds support for the latest Rails 3 release and it includes a lot of performance improvements. Now Redmine configuration deployment uses Passenger for OS X and Linux and a Thin cluster for Windows. You can download the native installers for OS X, Windows and Linux, virtual machines or deploy it directly in the Amazon cloud.
RailsCamp New England - June 22 - 25
Registration is now open! All skill levels are welcome
Screencast: OAuth 2 with Doorkeeper
Railscasts just released a screencast on how to setup and use Doorkeeper as an OAuth 2 provider. This episode also shows how to setup OmniAuth as an OAuth client and use the oauth2 gem to communicate with an API. [more inside]
Talks: gem for talking ruby and mac command-line tools
If you want to hear some response from your code or long tasks - use talks gem. Or just for fun :)
Introducing rake-rails
Introducing rake-rails: run ALL the things with rake, avoiding confusion with rails
TConsole 1.2 Is Out
TConsole 1.2, the latest version of everyone (ok, maybe just me and a few other peoples’) favorite testing console is out. The latest version includes quite a few improvements, like better signal handling, and a ton of bugfixes. Check out the blog post about the update and check out the README.
Gatekeeper - Dancing OAuth with Github client-side only
Github prevents you from implementing the OAuth Web Application Flow on a client-side only application. This is a real bummer. So we built Gatekeeper, which is the missing piece you need in order to make it work.
Try the Practicing Ruby journal for a month without paying a cent!
It’s no secret that Practicing Ruby has released a ton of free content. With so much of my writing available for free, some folks may wonder why they should bother paying $8/month for a paid account at practicingruby.com. [more inside]
Veewee templates updater. Easily update templates in the installed veewee gem.
Ever installed veewee gem and wanted to use template that was not yet in the gem? Now you can update available templates in the gem with one simple gem: gem install veewee-templates-updater Now every time you want to update templates just call: veewee-templates-update – More details on the project page mpapis/veewee-templates-updater.