16 Jun 2009 |
Posted by Erik St. Martin | 0 Comment.
0
While working on some front end optimizations for a venture of mine I went on the lookout for a better bundling strategy then that provided with the default rails stack.
While rails does provide bundling of CSS and Javascript it does not support minification. Which in my opinion is a huge win for site performance, and a less needed feature for this particular project; but a nice to have is the concept of bundles. Specific sets of pages may need the same 3 Javascript files etc. So it would be nice to just keep track of these common bundles and include them as necessary in my layouts and views.
Enter...
13 Apr 2009 |
Posted by Erik St. Martin | 0 Comment.
0
I noticed a couple of days ago there are some unexplained errors when running rake spec with the rspec rails gem. That appear to have been there for a while. 3/07/2009
when running script/generate rspec new rake tasks are placed in lib/tasks/rspec.rake
if you open this file you will see that line 101 is the offending line
::STATS_DIRECTORIES < < %w(Routing\ specs spec/lib) if File.exist?('spec/routing')
should be
::STATS_DIRECTORIES < < %w(Routing\ specs spec/routing) if File.exist?('spec/routing')
I sent a message to David Chelimsky so this issue should be resolved in the next...
07 Oct 2008 |
Posted by Erik St. Martin | 0 Comment.
0
For those that have not used metric_fu (http://metric-fu.rubyforge.org/) its a great project by Jake Scruggs (http://jakescruggs.blogspot.com/) that merges many different ruby projects for measuring code performance, into one bundle of rake tasks and generates html reports. Up until now its churn feature (which shows you which of your files have been modified the most in source control) has only supported subversion. Myself I am a huge fan of Git and I use it for everything, even when I work on projects in other revision control systems I use things like git-svn and git-p4 to push to those systems...