Docunext

  • About

LXC on Ubuntu 11.10 Looks Good 25 December, 2011

I upgraded my Lenovo g555 laptop to Ubuntu Oneric Ocelot on Friday and it was a little rocky, but now its working really well.I have setup a…

Where is usr lib gnome keyring gnome keyring pkcs11.so 23 December, 2011

I've been wrestling with Gnome Keyring during the transition to Gnome 3 on Debian, and Ubuntu 11 (all with Awesome WM).One interesting snag…

Gitolite Git encrypt Git annex and Bup 23 December, 2011

I've been working more git lately, covering at least the following items:GitoliteGit enryptGit annexBupHere are my notes on each component…

gnome keyring daemon 1907 unsupported key algorithm in certificate 1.2.840.10045.2.1 21 December, 2011

Yikes! My dsa public keys stopped working today, and I found this murky error message in /var/log/auth.log:Hmmm... apparently gnome-keyring…

Backups of OpenVZ Containers with bup 20 December, 2011

I'm planning to use bup to make backups of vzdumps. Bup is a backup utility that build on top of git's awesomeness, so in some ways, its…

Suing Mark Zuckerberg for Fun and Profit 16 December, 2011

Facebook might sue Mark Zuckerberg! OMG!Getting Sued by Facebook for Fun and ProfitHaha! This is not an April Fool joke in December…

MediaWiki to Wikee or Ikiwiki or Git Wiki 27 November, 2011

I've been working on Wikee a bunch lately, and today I'm converting the Informed Banking wiki to be in git format (a format that will…

Acceptance Testing in Rails3 with Rspec2 Capybara and Devise 21 November, 2011

I finally figured out how to setup acceptance testing in Rails3 with Rspec2, Capybara, and Devise!It actually wasn't that hard, once I…

Bundler Rubygems and Git Source Problems 31 October, 2011

I'm getting this odd "error" when trying a bundle install:Looks like the problem is related to yaml and psych. There is a related issue on…

Full Bore Ahead with Rails 3.1 Engines 30 October, 2011

Rails 3.1 Engines Are Awesome!I have been having a blast with Rails 3.1 Engines lately. Why?They are intuitive - they just "make sense".They…

Shapado Failed to connect to a master node at localhost 27017 28 October, 2011

First Attempt to Install ShapadoI'm trying to install shapado, a stackoverflow clone running on top of Ruby on Rails. It looks like a very…

Howto Run the Regulate Rails3 CMS engine on GitModel a Rails3 ActiveModel ORM using Git 27 October, 2011

GitModel Rocks!Tonight I've been working on GitModel, an ActiveModel powered ORM that uses Git as its storage mechanism.SerializersIt…

Rails 3.1 Engines and Views Inheritance 26 October, 2011

I'm using Engines with Rails 3.1 extensively.Ran into an interesting factor: when isolating the engine namespace, if the engine's…

Rspec 2 Shoulda Rails 3.1 Awesome 26 October, 2011

I've been digging deeper into Rspec, and along the way I've found some truly amazing features enabled by combining Rspec and shoulda from…

Rails 3 and jQuery by Example 15 October, 2011

I'm finally digging into the jQuery setup with Rails 3.1. As you are all likely aware, jQuery is the new default javascript language in…

Ruby 1.9.3 and Rails 3.1.1 15 October, 2011

Tired of waiting for Rails 3 to start up again and again, I decided to try out Ruby 1.9.3-rc1. To my surprised, Ruby 1.9.3-rc1 works…

Quick Overview of the Rails 3.1 Asset Pipeline 14 October, 2011

The Rails 3.1 asset pipeline has had some twists and turns lately. The community seems to me to be a little overdramatic about the state of…

Noteworthy Rails 3 Gems and Engines 08 October, 2011

I went searching for noteworthy Rails 3.1 gems and engines recently and found these to be very interesting:active_reload - am using it now…

Regulate to Deregulate 05 October, 2011

A few months ago I forked the regulate project on github. Its a rails 3 engine that provides git-wiki like editing capabilities of text…

Inherited Resources and Rspec on Rails 3.1 29 September, 2011

I'm trying to use Rspec to test a Rails 3.1 application that uses Inherited Resources, but I keep getting these types of errors with spec…

Removing a Git Submodule 24 September, 2011

I'm noting these instructions on how to remove a git submodule for future reference:Delete the relevant line from the .gitmodules file…

AuthLogic Configuration Options and Examples 22 September, 2011

AuthLogic was the first authentication gem I chose for Rails 3.1. It works, but I have issues with the documentation - its not clear, and…

Uncaught ReferenceError existing custom fields is not defined 22 September, 2011

I am getting this odd jQuery related error in Rails 3.1:Once I track down the cause I'll post more details here.

A Problem with the Rails 3.1 Asset Pipeline... 19 September, 2011

I've run into an error with the Rails 3.1 asset pipeline where one of my controllers happens to be named AssetsController:Hmmm. What to do…

app error closed stream IOError 18 September, 2011

Looks like my Rack middleware is having some trouble with an updated version of rack:Oddly this is only happening when I try to use the…

ActiveModel and ActiveRelation 17 September, 2011

Active Model is a new component of Rails 3+ that abstracts out some generic functionality from ActiveRecord to that a single API can be…

Rails 3.1 Asset Pipeline 17 September, 2011

Rails 3.1 implements a new feature of Rails that has been in the works for quite some time: the Asset Pipeline. In Rails 3.1, it is the…

undefined method write for Syck Emitter 0x97c0d90 NoMethodError 15 September, 2011

A workaround is to use:

can t convert Pathname to String TypeError 13 September, 2011

I'm revamping an old Sinatra app I built and unfortunately I'm running into this odd error:It was occurring due to the octopussy gem, which…

Rails 3 Engines 11 September, 2011

I was curious about using rails and git, specifically with regard to engines.Engines as GemsAs gems, they work really well - and I'm…

Remove Zentom System Guard 03 September, 2011

The process of removing Zentom System Guard sucked so badly in my experience. Everything I tried was foiled:Unable to start task…

Caching in Rails 3 01 September, 2011

I'm very impressed with the caching capabilities in Rails 3. Not only can it cache pages like any good Rack application can, it can also…

Rendering A Partial HAML Template in Rails 3.1 30 August, 2011

How To Render a Partial HAML Template From a Rake Task in Rails 3.1Thanks to Klimant Mamykin, I was able to figure out how to render a…

Rack Perftools Profiler Is Awesome 20 August, 2011

Based upon a suggestion from a co-worker, I tried out rack-perftools_profiler today. It is awesome.One thing I noticed right away is that…

ExecJS RuntimeUnavailable 20 August, 2011

I just started a new Rails 3.1 project, and got the following error:The fix:I bet this has something to do with coffeescript, but I haven't…

Advanced ActiveRecord Queries with Rails 3.1 Arel joins and merge 18 August, 2011

I've been exploring Rails 3.1 for a couple weeks now and last night I focused on advanced queries with Active Record, utilizing some new…

Memcached and Undefined Modules Classes 14 August, 2011

I ran into this sort-of bug while using Memcached and Rails. By caching an object in memcache, Rails doesn't know how to autoload the file…

Exchange 2007 Outlook Web App Doesn t Work on Droid X 13 August, 2011

While I'm not surprised that the Exchange 2007 Outlook Web App doesn't work on my Droid X, I'm still disappointed.The Outlook Web App is…

Travis CI is Awesome 13 August, 2011

I'm trying out Travis CI for Regdel and it is awesome! I'm also using it for rack-xsl, and I finally got that to pass.It took me thirteen…

Perl Foreach Array 07 August, 2011

Perl has all these funky magic vairables, like $_. Its tough because they are useful with foreach loops, like this one:An expanded example:

Viewpoint Gem for Accessing Exchange 07 August, 2011

https://rubygems.org/gems/viewpointAt work we've upgraded from Microsoft Exchange 2003 to Exchange 2008 and as such we have to stop using…

Apache and NGINX 06 August, 2011

For what its worth, having a bit-buffer-bucket-brigade proxy like NGINX in front of Apache is an excellent idea in almost every situation…

Machinist on the Test Environment Console 03 August, 2011

I am using Machinist 2 beta with Rails 3.1 and its working quite nicely. Though its beta, I've found it to be working quite well.To do some…

Example Enumerable s group by 16 July, 2011

This is an example of Ruby's Enumerable class method group_by:Enumerable is truly an awesome class, actually - its a module! Which really…

Git Subversion SVN authentication 14 July, 2011

I am trying out git svn and its working OK, but I've hit a snag (not a show stopper): I can't get my svn credentials to use GNOME's session…

Deadlocks and Recursive Locks 10 July, 2011

How do you like these Ruby errors?1.9.21.8.7D'oh! This all started happening when I copied a bunch of resources from my FathersWork project…

Acts as Nested Set for Rails 3 02 July, 2011

A new project I am working on using Rails 2.3.11 introduced me to acts_as_list and acts_as_tree, so I decided to look for those for use with…

Single Table Inheritance Inherited Resources Inherited Views and Rails 3 02 July, 2011

In working on Regdel, an open source bookkeeping system I am writing with Ruby on Rails, I pondered the question about whether to use Single…

NewRelic Ruby Process Management System 29 May, 2011

At my new job as a Ruby on Rails developer, I've been exposed to a very nice application process management service called NewRelic. When I…

A GNU Debian LXC Puppet 22 May, 2011

As a continuation to my post on setting up Rails 3 apps via RVM, CentOS on OpenVZ, Mastered by Puppet, this is an entry about doing…

Yearly Indexes: 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2015 2018 2019