The main goal of 2.0 release is to upgrade to the latest Rails 3 version (3.2.2 at the time of writing). There will be no or few new features added. The current architecture for Redmine plugins will be preserved in order to ease the upgrade of existing plugins. No due date planned for...
Download Editor Support Development Install Ruby and Sass First of all, let’s get Sass up and running. If you’re using OS X, you’ll already have Ruby installed. Windows users can install Ruby via the Windows installer , and Linux users can install it via their package manager. Once yo...
Added by Jean-Philippe Lang about 1 hour ago Redmine 1.3.2 fixes 13 defects and is available for download at Rubyforge . This maintenance release also fixes several security issues (one XSS and several mass-assignment vulnerabilities that affect all previous versions of Redmine). You ...
is a connection between two Active Record models. Associations are implemented using macro-style calls, so that you can declaratively add features to your models. For example, by declaring that one model belongs_to another, you instruct Rails to maintain Primary Key–Foreign Key inform...
A Unix Shell in Ruby - Login Shell and the PATH Posted by jstorimer on March 11, 2012 — 0 comments In continuing my series on implementing a Unix shell in pure Ruby code this article covers everything you need to know about environment variables and the search path. Read it . Comments...
March 21, 2011 Posted by John Tagged analytics , gauges , and statsd Older: Give Yourself Constraints Newer: SSH Tunneling in Ruby Hi My Name is John... …and I am addicted to analytics. It all started when I was a wee lad. I quite enjoyed playing Tecmo NBA Basketball, among other game...
I love making beef jerky. I started making jerky by using Alton Brown’s recipe , but I found his jerky making apparatus to be lacking in a few key areas, so I put together my own jerky making setup. I use a modified food dehydrator for making my jerky. I prefer using a food dehydrator...
Square brackets follow a tag definition and contain a Ruby object that is used to set the class and id of that tag. The class is set to the object’s class (transformed to use underlines rather than camel case) and the id is set to the object’s class, followed by its id. Because the id...
If you don't fuck around with iMovie's ridiculous "projects" horseshit, and you just want to get your shit from a camcorder and onto your Mac, use iMovie to import the video, and then just quit out of that useless piece of fucking garbage and go to the "iMovie Events" folder on whiche...
The Path to Rails 3: Introduction Wow, over half a year with no blog post. That may be a new record for blog laziness for me, but fear not! This bout of sloth shall not last, and the dearth of blog entries shall come to and end! This cure should come partially because I’ve switched to...
Horizontal Scalability via Transient, Shardable, Share-Nothing Resources , I argued that memcached is the father of modern shardable resources. Today’s NoSQL key-value stores all owe some part of their inspiration to memcached. Even feature-rich datastores such as CouchDB or Cassandra...
RSpec 2.8 has been released, along with rspec-rails 2.8.1 for the full Rails 3.x integration experience. RSpec is a BDD-focused testing tool that's particularly popular in the Rails world where everyone except DHH is using it (if you believe the hoopla). RSpec has faced accusations of...
A Lagom Review of O’Reilly’s ‘Sinatra Up and Running’ By Peter Cooper / December 14, 2011 Sinatra Up and Running is a new book published by O'Reilly and written by Alan Harris and Konstantin Hasse that covers the popular Sinatra web application DSL in a brisk 103 pages, acting as a tu...
I’m definitely excited about the direction Heroku is going. I briefly used them for a production site a year ago, when they were still in the “Toy in the cloud” phase. It seemed very promising back then, but ultimately it was too slow and limited for us. I’ve played with it recently a...
To use Bourbon with Rails’ asset pipeline we’ll need to change the way that the default application.css file works. By default this file will use a Sprockets manifest to load each of the other stylesheet assets. The problem with this is that Sprockets compiles each SASS file into CSS ...
lattice 0.0.0 A concurrent realtime web framework for Ruby install gem install lattice Download Documentation Subscribe Stats Authors Tony Arcieri 102 total downloads 102 for this version Owners Links Homepage Bundler gem "lattice", "~> 0.0.0" Versions 0.0.0 December 11, 2011 Runtime ...
It is very hard to obtain a full list of web applications defined in the Apache configuration file(s). In other words, it’s hard for Phusion Passenger to know which web applications are deployed on Apache until a web application is first accessed, and without such a list Phusion Passe...
Yields x to the block, and then returns x. The primary purpose of this method is to “tap into” a method chain, in order to perform operations on intermediate results within the chain.
Register or log in to add new notes. MattStopa - March 11, 2012 0 thanks Video Explanation of find and find_all http://www.youtube.com/watch?v=2tTMAPT7rcw tadman - April 1, 2009 1 thank Returns the element, not block result Enumerable#find will always return the element that is found,...
Returns an array containing all elements of enum for which block is not false (see also Enumerable#reject).
Register or log in to add new notes. MattStopa - March 11, 2012 0 thanks Video Explnation of the collect method http://www.youtube.com/watch?v=nn-urr9l7tc noniq - March 18, 2010 - (v1_8_6_287 - v1_8_7_72) 0 thanks collect_with_index Use Object#enum_for if you need to collect with inde...
There are a lot of Sinatra extensions out there, and some of those are used by a large number of apps, like sinatra-content-for or sinatra-reloader. The maintainers of these extensions have to keep up with new Sinatra releases to make sure everything works fine. This poses an issue fr...
We haven’t previously made a lot of noise about Java 7 and JRuby, nor assembled a blog post/tutorial like this, primarily because Java 7 GA was missing key optimizations in the invokedynamic subsystem. JRuby 1.7 will make heavy use of invokedynamic, and if we had released it before th...