jonathan.tron.name
Category: Development Tools | Jonathan.inspect
http://jonathan.tron.name/category/development-tools
Random thoughts about web and mac development. RSpec and HAML Helpers. Today I faced a problem with specing a helper where I use the haml tag/puts methods (haml tag was previously open). Here’s a solution working with Rails 2.0.2, RSpec 1.0.3 and HAML. In spec helper.rb add :. Config . # Activate haml to spec helpers. Config.with options( :behaviour type. Config config.include Haml. Config.prepend before :all. Update from Evgeny comment, with HAML = 1.8.2, you can call. Haml is haml = true. Command and a...
jonathan.tron.name
RSpec 1.1 | Jonathan.inspect
http://jonathan.tron.name/2007/12/14/rspec-1-1
Random thoughts about web and mac development. Anounced this morning the release of. As of now the website is not up to date). And just now the brand new website hosting. What’s in this release? StoryRunner : merge from Dan North. Library. It aimed at providing a clean way to express and automate Acceptance Tests. Nested Example Groups : allows you to nest your. Blocks resulting in group sharing common specifications. Support for Rails 2.0.1. More infos on David blog post about the RSpec 1.1 release.
jonathan.tron.name
Automount shared directory on Leopard | Jonathan.inspect
http://jonathan.tron.name/2008/01/26/automount-shared-directory-on-leopard
Random thoughts about web and mac development. Automount shared directory on Leopard. Following my last post, here’s another handy new thing to do in Leopard. I never used this in Tiger (MacOS X.4) because it was not practical (besides being possible), but I swear it was usable by the time. Auto-mounting remote shared server (Samba, NFS. So now how to do this? NetInfo is gone so where can I define my automount points, remember when I said NetInfo is dead for the best? First, you should edit. Remote serve...
jonathan.tron.name
Category: Others / Divers | Jonathan.inspect
http://jonathan.tron.name/category/others-divers
Random thoughts about web and mac development. Hi, if you read those lines it means the DNS. Were updated and you’re looking at this blog hosted on Heroku. It’s been a long time since I wanted to try Heroku for more than a little Sinatra. Test app, so I decided to try with this blog. We’ll see how it goes in the next weeks. Published on Sat, 11 Jun 2011 12:20. Bad key bindings over ssh from a mac. I encountered, for some time now, problems when connecting over ssh from my mac to a linux machine. It turns...
jonathan.tron.name
Hosts aliases in Leopard | Jonathan.inspect
http://jonathan.tron.name/2008/01/05/hosts-aliases-in-leopard
Random thoughts about web and mac development. Hosts aliases in Leopard. Back in Tiger days, I used to love having aliases pointing to localhost or other servers saving me some typing and allowing me to use Apache vhosts locally. To achieve this without restarting the whole system, I used NetInfo to add a new Machine entry, this works great, no restart needed only NetInfo reload. Command and a bunch of related one :. For today, we’ll use. A little handy feature of the new. When we’re at it :. Benjamin St...
jonathan.tron.name
Migration to Heroku | Jonathan.inspect
http://jonathan.tron.name/2011/06/11/migration-to-heroku
Random thoughts about web and mac development. Hi, if you read those lines it means the DNS. Were updated and you’re looking at this blog hosted on Heroku. It’s been a long time since I wanted to try Heroku for more than a little Sinatra. Test app, so I decided to try with this blog. We’ll see how it goes in the next weeks. Sat, 11 Jun 2011 12:20 Posted in Others / Divers. I blog here too. Past Projects I worked on. The Fund Processing Passport. Mairie de Moulins-là s-Metz. Thème Frédéric de Villamil.
jonathan.tron.name
End of my Rubygems mirror | Jonathan.inspect
http://jonathan.tron.name/2009/12/05/end-of-my-rubygems-mirror
Random thoughts about web and mac development. End of my Rubygems mirror. With the advent of Gemcutter. I don’t feel the need to maintain my own rubygems mirror. Please remove it from your gem source if you’re using it and replace it by Gemcutter. To install gemcutter as the main source for your gems :. Gem install gemcutter gem tumble. Sat, 05 Dec 2009 17:58 Posted in Ruby. There is a critical shortage of informative airtlecs like this. End of my Rubygems mirror. I blog here too.
jonathan.tron.name
Sinatra, Sequel, HAML, PostgreSQL, UTF-8 and Ruby 1.9.1 | Jonathan.inspect
http://jonathan.tron.name/2009/08/20/sinatra-sequel-haml-postgresql-utf-8-and-ruby-1-9-1
Random thoughts about web and mac development. Sinatra, Sequel, HAML, PostgreSQL, UTF-8 and Ruby 1.9.1. Lately, with my friend and colleague Joseph, we made some experiments with the Sinatra. As part of the experiment we’ve chosen to stick with our. And our preferred template engine HAML. But we decided to give the Sequel. A try as well as using Ruby 1.9.1. We also wanted to store our datas as UTF. 8 (this part is the most painful of all). Using Sinatra and HAML. Cf : Sequel: Database.connect. What happe...
jonathan.tron.name
RubyGems mirror update | Jonathan.inspect
http://jonathan.tron.name/2009/06/21/rubygems-mirror-update
Random thoughts about web and mac development. Due to the increasing time/resources needed to generate the indices for my rubygems mirror, I decided to stop generating the ones for old RubyGems versions ( = 1.2.0) and switch to the —update option. This greatly help with the load generated on the server by the mirroring/indexing process. From now on I will only generate the legacy indices (for RubyGems = 1.2.0) twice a day : 12AM UTC 2/12PM UTC 2. Sun, 21 Jun 2009 20:13 Posted in Ruby. I blog here too.
jonathan.tron.name
Category: Javascript | Jonathan.inspect
http://jonathan.tron.name/category/javascript
Random thoughts about web and mac development. Just a quick add-on on my previous post, I found there was already a nice BDD. Framework for javascript : JSSpec. Go see the demo page. It looks really nice. Published on Fri, 19 Oct 2007 14:57. It was a long time since I delved into Scriptaculous. This morning I was browsing it to find out what’s coming for next versions (seems 2.0 is not so far away) and had a good surprise : it seems they add BDD. To their test framework. ShouldBeA(String); } }. So I let ...
SOCIAL ENGAGEMENT