Black and White Thoughts

month

December 2010

9 posts

[ Ruby ] Ruby advent calendar 2010: Day 9

Yesterday I presented to you the Ruby Koans project to learn Ruby through tests. Today I will show the list of currently tests frameworks built by the Ruby community. 

Right now I’m learning shoulda, just for the fun of it. I already have some experience with Rspec but you never know what you can find testing other frameworks and ways to do the same thing. Here is the list pick one and try to learn it today. 

http://ruby-toolbox.com/categories/testing_frameworks.html

Enjoy!

Dec 09, 20101 note
#ruby #advent-calendar-2010
[ Ruby ] Ruby advent calendar 2010: Day 8

The ruby koans is a project to learn Ruby making a set of tests pass. It’s a good way to learn any language, if you already know Ruby you can use it to practice too.

http://rubykoans.com/

Enjoy!

Dec 09, 20101 note
#ruby #advent-calendar-2010
[ Ruby ] Ruby advent calendar 2010: Day 7

Yesterday I put the link to Active Resource’s documentation and talked a little bit about building wrappers for RESTful API’s. Today is the turn for HTTParty a gem to facilitate the design of such wrappers. 

http://httparty.rubyforge.org/

Enjoy!

Dec 09, 20100 notes
#ruby #advent-calendar-2010
[ Ruby ] Ruby advent calendar 2010: Day 6

Probably you already know about Active Resource (AR), but this is one of the most use gems around is part of Rails core and probably on most gem’s that explode a RESful API.

If you are planning to built a wrapper around any RESTful API around take a look to this useful gem.

http://api.rubyonrails.org/classes/ActiveResource/Base.html

Enjoy!

Dec 09, 20100 notes
#ruby #advent-calendar-2010
[ Ruby ] Ruby advent calendar 2010: Day 5

Today is the day for learning about faking web request with FakeWeb. 

http://fakeweb.rubyforge.org/

Enjoy!

Dec 09, 2010-1 notes
#ruby #advent-calendar-2010
[ Ruby ] Ruby advent calendar 2010: Day 4

After learning about mixin’s in Ruby it now the turn to learn about delegations, the best and easy way that I found was using the Ruby standard library lib forwardable. 

Here is the link to it’s documentation and examples:

http://www.ensta.fr/~diam/ruby/online/ruby-doc-stdlib/libdoc/forwardable/rdoc/index.html

Enjoy!

Dec 09, 20100 notes
#ruby #advent-calendar-2010
[ Ruby ] Advent calendar 2010: Day 3

Is good to know how mixin really works to design better API’s in Ruby. I found some good tutorials regarding this topic and I hope you find it useful too.

http://juixe.com/techknow/index.php/2006/06/15/mixins-in-ruby/

http://www.ruby-doc.org/docs/ProgrammingRuby/html/tut_modules.html

http://chadfowler.com/2009/7/8/how-ruby-mixins-work-with-inheritance

Enjoy!

Dec 09, 20100 notes
#ruby #advent-calendar-2010
[ Ruby ] Ruby advent calendar 2010: Day 2

I decided just to put links to useful stuffs each day, here is the second thing I found useful:

Hashie is a growing collection of tools that extend Hashes and make them more useful.

https://github.com/intridea/hashie

Enjoy!

Dec 09, 2010-1 notes
#ruby #advent-calendar-2010
[ Ruby ] Ruby Advent Calendar 2010: Day 1

After spending a good amount of my day today searching the Internet for this year Advent Calendar about Ruby and failing miserably, I decide to create my own just for the record, I’m not an expert in Ruby in any manner I’m just doing this to share tips and stuffs like.

For the first tip of the day, I’ll be sharing a decent way to create new Ruby gems using the tool bundler, all the info is the following location:

https://github.com/radar/guides/blob/master/gem-development.md


Enjoy!

Dec 01, 20100 notes
#ruby #advent-calendar-2010
Next page →
2012 2013
  • January 45
  • February 34
  • March 33
  • April 37
  • May 33
  • June 7
  • July
  • August
  • September
  • October
  • November
  • December
2011 2012 2013
  • January 17
  • February 2
  • March 2
  • April 31
  • May 64
  • June 20
  • July 9
  • August 8
  • September
  • October 12
  • November 1
  • December 21
2010 2011 2012
  • January 1
  • February
  • March
  • April
  • May 2
  • June 5
  • July 5
  • August 9
  • September 5
  • October 16
  • November 10
  • December 8
2009 2010 2011
  • January 17
  • February 9
  • March 14
  • April 3
  • May 4
  • June 1
  • July
  • August
  • September
  • October
  • November
  • December 9
2008 2009 2010
  • January 9
  • February 2
  • March 4
  • April 5
  • May 15
  • June 4
  • July 31
  • August 2
  • September 8
  • October 5
  • November 7
  • December 58
2007 2008 2009
  • January 16
  • February 67
  • March 8
  • April 19
  • May 17
  • June 16
  • July 8
  • August 2
  • September 2
  • October 4
  • November
  • December 8
2007 2008
  • January
  • February
  • March 34
  • April 10
  • May 14
  • June 29
  • July 16
  • August 27
  • September 21
  • October 17
  • November 5
  • December 10