pick 28e91bb [#4000] Add Chosen as Javascript asset pick 2043850 [#4000] Link to Chosen stylesheet in admin layout pick fd38b60 [#4000] Add Chosen to select field pick 34c2e5c [#4000] Fix Chosen formatting # Rebase 19780cc..34c2e5c onto 19780cc # # Commands: # p, pick = use commit # r...
April 18, 2012 Comments (View) thoughtbot in Bangkok Sawasdee krub! Jason Morrison is in Bangkok for a bit, and wants to talk shop and buy you drinks. Come talk about testing in JavaScript-heavy web apps at the BKK Rails-JS meetup this Friday, April 20 at 19:00. Check the Meetup page ...
Do you dream of someday speaking at a technical conference? Have you spoken at a conference but felt like your journey to the podium wasn't as smooth as it might have been? Well here are a couple tips to make things go smoothly and endear you to your conference organizers. I'm writing...
jruby-parser 0.3 A Gem for syntactically correct parse trees of Ruby source install gem install jruby-parser Download Documentation Subscribe Stats Authors Thomas E. Enebo 5 total downloads 5 for this version Owners Links Homepage Bundler gem "jruby-parser", "~> 0.3" Versions 0.3 Apri...
Don't write boring code Posted by julian7 on April 18, 2012 — 0 comments If you think testing slows you down, your code is boring . Comments Post a Comment Comment abilities for non registered users are currently deactivated, pending time to add a proper CAPTCHA to solve the escal...
Store gives you a thin wrapper around serialize for the purpose of storing hashes in a single column. It's like a simple key/value store backed into your record when you don't care about being able to query that store outside the context of a single record. You can then declare access...
Posted over 3 years ago in Ruby Tutorials and Ruby Voodoo . There's an argument that rages in the Ruby camps: to instance_eval() or not to instance_eval() . Most often this argument is triggered by DSL discussions where we tend to want code like: configurable.config do width 100 mode ...
Rails Internals: Active Model Observers Posted by oscardb on April 18, 2012 — 0 comments New article in the Rails internal series: Rails Internals: Active Model Observers Comments Post a Comment Comment abilities for non registered users are currently deactivated, pending time to ...
is Mike Gunderloy's software development weblog, covering Ruby on Rails and whatever else I find interesting in the universe of software. I'm a full-time Rails developer and contributor, available for long- or short-term consulting, with solid experience in working as part of a distri...
Engine Yard Cloud Log in Login to Engine Yard Cloud Login to Orchestra PHP Cloud Products Engine Yard Cloud Engine Yard Managed Orchestra PHP Cloud Platform Services Solutions Mobile Social Campaigns Services Support Training Professional Services Dev. & Digital Agencies Developer Cen...
<%= form_for @subscription do |f| %> <% if @subscription.errors.any? %> <div class="error_messages"> <h2><%= pluralize(@subscription.errors.count, "error") %> prohibited this subscription from being saved:</h2> <ul> <% @subscription.errors.full_messages.each do |msg| %> <li><%= msg %>...
cheat_sheet.rdoc doc/cheat_sheet.rdoc Last Update: 2011-07-16 11:31:03 -0700 Cheat Sheet Open a database require 'rubygems' require 'sequel' DB = Sequel.sqlite('my_blog.db') DB = Sequel.connect('postgres://user:password@localhost/my_db') DB = Sequel.postgres('my_db', :user => 'user', ...
April 13th, 2012 Adhearsion 2.0 released ... Eric Hodel's rdoc-spellcheck 1.0 released ... Dr. Nic's App Scrolls ... Dan Croak's "Decorators vs. Other Patterns" blog post ... Pat Shaughnessy's "Why You Should Be Excited About Garbage Collection in Ruby 2.0" blog post ... DHH's "Testin...
class ProductsController < ApplicationController helper_method :sort_column, :sort_direction def index @products = Product.order(sort_column + " " + sort_direction) end # ... private def sort_column Product.column_names.include?(params[:sort]) ? params[:sort] : "name" end def sort_dir...
xlsx generation with charts, images, automated column width, customizable styles and full schema validation. Axlsx excels at helping you generate beautiful Office Open XML Spreadsheet documents without having to understand the entire ECMA specification. Check out the README for some e...
<div id="calendar"> <h2 id="month"> <%= link_to "<", :month => (@date.beginning_of_month-1).strftime("%Y-%m") %> <%=h @date.strftime("%B %Y") %> <%= link_to ">", :month => (@date.end_of_month+1).strftime("%Y-%m") %> </h2> <% calendar_for @articles, :year => @date.year, :month => @date...
is self-described as a “classier solution for file uploads for Rails, Sinatra and other Ruby web frameworks.” Although I’ve head it referred to as “a new kid on the block” it’s actually quite an old gem. The initial checkin is from August 2008 and the first release was in March 2009. ...
7 Barebones Rails Apps To Kick Start Your Development Process By Peter Cooper — September 18th, 2008 — 20 Comments In Elsewhere , Miscellaneous Back in 2005, the first Rails application a novice Rails developer produced was typically a simple blog-like system. This was in no small par...