One of our readers asked me how to scrap stock price from the MarketWatch website using Ruby. Many would say…
Read MoreTag: Ruby
10 ways to speed up RSpec using Capybara and FactoryGirl
Tests are usually biggest bottleneck in any system. Here are 10 ways to speed up RSpec with Capybara #10 Avoid…
Read MoreHow to measure Ruby method performance ?
Hey Guys, Today, we will use our reverse methods that we have built in the previous post and measure how good…
Read MoreReverse String in Ruby – Multiple ways !
Hello again! I am continuing answering to your questions, this one came from marthab86_. marthab86_ asks: “I know Ruby has…
Read MoreGet Movies from RottenTomatoes API PART 2 (Ruby)
Here we are with Part 2 of our tutorial. Who missed the first part – it’s here. Also if you…
Read MoreGet Movies from RottenTomatoes API
I have gotten numerous emails with this question. I have decided to build a small app, that is based on…
Read MoreGenerate unique filename (Ruby)
Hey guys! Happy New Year! I am glad to be back this year with some interesting news. Thank you for…
Read MoreMock file upload with RSpec 3
One more note on RSpec 3.0, this time one useful function that mocks File Upload , saves file/archive content to…
Read MoreHow to Stub IP in RSpec 3?
Often when you are writing unit tests, you want to stub your IP address. Some of the uses cases could be…
Read MoreRAILS, HAML : How to put Checkbox and label on the same line, with translations
Hey guys! Today I have decided to share with you little secret, that can save you quite some time, while…
Read More