Tag Archives: ruby

Friendly_id gem and alphabetical uuid generation.

In case you need only alphabetical UUID you can use the following gist. It’s limited to 26 variants which is enough for my needs. Tweetvaso link

Posted in Code, Rails, Ruby | Tagged , , , , , | Leave a comment

Steak vs Cucumber as BDD tools

When I joined the world of Ruby on Rails development and testing I was quite happy with all the tools and testing frameworks available, I was using a lot of them during development process. Words like Rspec and Cucumber quickly … Continue reading

Posted in Uncategorized | Tagged , , , , | Leave a comment

Quick example of testing login form with mechanize and Test::Unit

I started testing with Ruby. So i first use Test::Unit and then i want to test some functionality on web. I read some examples at mechanize documentation, which is here or at your ruby/gems directory. So let’s look at the … Continue reading

Posted in Uncategorized | Tagged , , | Leave a comment

Multiline comments in Ruby

Do you want comment more than one row ? So use multiline comment like this : =begin your code =end Important rule, this code must be at the begining of row. PS: This code isn’t  exactly for comments, but you … Continue reading

Posted in Uncategorized | Tagged | Leave a comment

How to add second mysql server with installed WAMP

Because I started  learning Ruby on Rails I needed to run some database server for ruby. I like mysql.  I developing web aplications with WAMP (Windows + Apache + Mysql + PHP). So i tried to run Ruby on Rails … Continue reading

Posted in Uncategorized | Tagged , , , | Leave a comment

Start learning Ruby and Ruby on Rails framework

I has been developing Internet aplication about 9 years. In everyday work i use  PHP and AJAX technology. It is quite a long time ago when my friend Ladislav Martincik told me  about Ruby on Rails. I seen some amazing … Continue reading

Posted in Uncategorized | Tagged , , | Leave a comment