Jump to content

Photo

Favourite Ruby Gems


  • Please log in to reply
32 replies to this topic

#21
markbrown4

markbrown4
  • Members
  • 465 posts
  • Joined: 17-May 10
  • LocationMelbourne, Austraila
  • Expertise:HTML, CSS, Javascript, Ruby on Rails, Graphics
Precompilers
sass-rails
compass-rails
coffee-rails
Testing
capybara / selenium-webdriver
cucumber / rspec
Search
thinking_sphinx
sunspot-rails
Others
delayed_job
pdfkit
paperclip / CarrierWave
omniauth
jbuilder

Oh, and a big fan of all of the acts_as_xxxxxxx gems.

#22
TheEmpty

TheEmpty

    Chief of Staff

  • Members
  • 5239 posts
  • Joined: 02-October 10
  • Expertise:HTML, CSS, PHP, Java, Javascript, Python, Ruby on Rails, SQL

Oh, and a big fan of all of the acts_as_xxxxxxx gems.

Yea, someone that likes coffeescript :D act_as_fu is amazing for testing! Allows me to test modules and such.
Sexy code below,
Spoiler

#23
markbrown4

markbrown4
  • Members
  • 465 posts
  • Joined: 17-May 10
  • LocationMelbourne, Austraila
  • Expertise:HTML, CSS, Javascript, Ruby on Rails, Graphics

Yea, someone that likes coffeescript :D act_as_fu is amazing for testing! Allows me to test modules and such.

Overall, coffeescript is great :)
A couple of niggles that I can live with, given it removes all the the cruft and looks so much sexier.

#24
TheEmpty

TheEmpty

    Chief of Staff

  • Members
  • 5239 posts
  • Joined: 02-October 10
  • Expertise:HTML, CSS, PHP, Java, Javascript, Python, Ruby on Rails, SQL

Overall, coffeescript is great :)
A couple of niggles that I can live with, given it removes all the the cruft and looks so much sexier.

I hate how they removed falling switch/case statements q.q
Sexy code below,
Spoiler

#25
@Tom

@Tom
  • Members
  • 839 posts
  • Joined: 24-May 11
  • Expertise:Python, Ruby on Rails, Node.js, MongoDB
I love this thread! Whoo Coffeescript,

Tomjones.ws

 

Sir you are the first person to make me piss myself laughing. Kudos.


#26
markbrown4

markbrown4
  • Members
  • 465 posts
  • Joined: 17-May 10
  • LocationMelbourne, Austraila
  • Expertise:HTML, CSS, Javascript, Ruby on Rails, Graphics

I hate how they removed falling switch/case statements q.q

I hate how they fixed Javascript's ==. I actually like being able to compare truthy falsy values.

#27
gushort

gushort
  • Members
  • 491 posts
  • Joined: 05-January 11
  • LocationToronto
Okay two more to add:

Mechanize helps automate interaction with websites, and Nokogiri is an XML/HTML parser.

I should probably remove the "RoR" text from this threads title :)

#28
gushort

gushort
  • Members
  • 491 posts
  • Joined: 05-January 11
  • LocationToronto
For those wanting to delve into facebook apps: koala

#29
TheEmpty

TheEmpty

    Chief of Staff

  • Members
  • 5239 posts
  • Joined: 02-October 10
  • Expertise:HTML, CSS, PHP, Java, Javascript, Python, Ruby on Rails, SQL

For those wanting to delve into facebook apps: koala

3rd post, ha! Found about that gem from Mo3. Used it quite a few time, but generally there are more exact libraries for what I'm doing.
Sexy code below,
Spoiler

#30
gushort

gushort
  • Members
  • 491 posts
  • Joined: 05-January 11
  • LocationToronto

3rd post, ha! Found about that gem from Mo3. Used it quite a few time, but generally there are more exact libraries for what I'm doing.


Oops, overlooked Mo3 inclusion in his list, well lets just say I added the link :) . To try and make up for that:

twilio-ruby to add some telcom/sms abilities to your apps (twilio account required, but a nice free developer one with local phone number is available).

Sequel, an alternative to active_record or datamapper.

Pony, for your SMTP/Gmail/sendmail needs.

#31
gushort

gushort
  • Members
  • 491 posts
  • Joined: 05-January 11
  • LocationToronto
Here are some Sinatra specific gems that I found quite useful:

Sinatra-subdomain - easily handle subdomains in routes

Sinatra-authentication - a good starting point for authentication in Sinatra (be sure to check the forks, as they are more up-to-date).

Sinatra-assetpack - great way to manage your static assets

#32
TheEmpty

TheEmpty

    Chief of Staff

  • Members
  • 5239 posts
  • Joined: 02-October 10
  • Expertise:HTML, CSS, PHP, Java, Javascript, Python, Ruby on Rails, SQL
https://github.com/c...e/better_errors

Posted Image
Sexy code below,
Spoiler

#33
gushort

gushort
  • Members
  • 491 posts
  • Joined: 05-January 11
  • LocationToronto
Just a quick note for DataMapper users, it seems that if you want to use will_paginate with your DM models, you should include in your Gemfile:

gem 'will_paginate', '~> 3.0'

and then in your app/model.rb file:

require 'will_paginate'
require 'will_paginate/data_mapper'

There seem to be problems with the pre 3.0 version of the DataMapper will_paginate gem extension. By following the above, everything seems to work without a hitch.




3 user(s) are reading this topic

0 members, 3 guests, 0 anonymous users