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.
Upload videos with Paperclip, generate thumbnails, and send to S3 using delayed job
I never quite found one blog post that explained how to do all the things mentioned above, so I wrote one to help others out there. You can see it here
Taming Bundler
A quick post on how to avoid having to “bundle install” each time you switch branches in git.
A simple intro to writing an S-Expression parser in Ruby
A short and easy intro to the world of parsers. S-Expressions are amongst the easiest of syntaxes to parse so they are a great candidate if you have never written a parser before. Check out the article.
MagicRuby - A FREE Ruby conference at Walt Disney World
If you’ve missed the announcement, MagicRuby is happening in Orlando, FL at Walt Disney World’s Contemporary Resort (like, 50 feet from The Magic Kingdom!) on Feb. 4-5, 2011. It’s a free conference, but all we’re asking is until we fill our room block, that you book room if you book a ticket (it’s only $189 a night for a hotel that’s normally about $400-$500 a night!). For those who help us out with our room block (even with one night), we plan on having a special reception and some other goodies, so sign up today and get those travel plans firmed up!
The iPhone Helpers Plugin for Rails
I recently released a Rails plugin called rails-iphone-helpers. This helper makes it real easy to generate iPhone specific HTML tags such as the viewport and homescreen icon just to mention a few. All done in with Rails simplicity in mind. The plugin also got featured on RailsInside. Check it out over at GitHub.
Implementing Devise extensions
In the previous post I glossed over the implementation of custom_database_authenticatable. Today I’ll go over what it looks like, and explain how to create Devise extensions in general.www.railsatwork.com
validated-fields
Set of Rails helpers for unobtrusive frontend validations using HTML5 attributes, Rails 3 validators and JavaScript. Check the Github repository for more details.
Get Capybara & Cucumber Features Running In Internet Explorer On Remote Windows
Here is a quick guide I put together on how to run your Capybara & Cucumber tests in IE on a remote Windows box. I haven’t seen this documented anywhere else so it’s worth checking out if you have been looking at Selenium\Capybara options recently.
Ruby: Calling super constructors from multiple included modules
A blog post describing how to call super constructors (or methods in general) of multiple included modules.
RubyGems.org maintenance tomorrow!
Planning on some downtime for a required kernel upgrade. Stay tuned on twitter for more info.
Hampton Catlin on Haml
<a href-“http://rubylearning.com/blog/2010/10/12/hampton-catlin-on-haml/”>Hampton Catlin</a> briefs Ruby noobs on Haml at RubyLearning.
Ripple 0.8.1 release
Version 0.8.1 of the riak-client, ripple, and riak-sessions gems are released; included are better support for unit testing, nested attributes from forms, and lots more. Check out the release notes for more detail.
Testing your Rails 3 Engine and make it suck less
A step-by-step guide on testing your gemified Rails 3 engines using a dummy rails app with enginex. If you like it, comment and tell me you like it. If you don’t like it, comment and tell me you don’t like it.
RSpec 2.0 is released
As of 53 minutes ago, RSpec 2.0.0 hit the gem servers and is now released. Learn more about what’s new, some exciting stuff in there!
Hashery 1.3.0 has hatched.
I just pushed Harshery v1.3.0 to the gem server. The new version fixes a bug in CastingHash and adds a new library, PropertyHash, which is simply a Hash with a limited set of keys.
rails_best_practices 0.4.5 released
I have released rails_best_practices 0.4.5, it adds the use say_with_time in migrations checker.
Rails 3, Ruby 1.9.2, Windows 2008, and SQL Server 2008 Tutorial
Here is a screencast and blogpost on how I got SQL Server, Ruby 1.9.2 and Rails 3 playing nice together on windows.
A Rubyist’s Beautiful Mistress: method_missing
There are a lot of misuses of method_missing floating around out there. I wrote a post explaining when to use method_missing (and when NOT to): A Rubyist’s Beautiful Mistress: method_missing. [more inside]
annotation library for Ruby
I just released annotation library for Ruby. Using it you can use annotation similar to Java.
Socky announcement (a complete ruby-based websockets solution)
My friend Imanel, after months of hacking, testing and tweaking, has just announced (therefore considering it production-ready) Socky, a complete websockets solution that consists of ruby-based push server and Rails plugin with javascripts for seamless integration (both tools can be used separately though).
How Santiago Pastorino Went From Ruby Newbie to Rails Core in 2 Years
How Santiago Pastorino, co-founder of WyeWorks, went from Ruby newbie to Rails Core in 2 years interview here.
Render an Org Chart with Rails
how to do this from the browser using Rails 3, an attempt to separate the view from the logic that drives the drawing, and how to style the output using HTML5 supported svg graphics. www.railsatwork.com
Does ROR deployment deprive YOU of your sleep?
Fabio Akita talks about Inploy and why ROR deployment is a breeze. A guest blog post on RubyLearning.