public
Description: Makes tests easy on the fingers and the eyes
Homepage: http://www.thoughtbot.com/projects/shoulda
Clone URL: git://github.com/thoughtbot/shoulda.git

Comments for thoughtbot's shoulda   feed

hardbap commented on thoughtbot/shoulda Thu May 07 13:25:26 -0700 2009
Comment in e7a0650:

This is one of those little things that makes a man happy. Thanks Joe.

rmm5t commented on thoughtbot/shoulda Sat Feb 07 08:43:03 -0800 2009
Comment in f937c08:

The new name conveys what is actually happening. The old name of should_protect_attributes never conveyed this, and for that matter, neither does attr_protected or attr_accessible.

This was also done to more easily name the new should_allow_mass_assignment_of macro that was committed here

For more info, see Ticket #106 in LH.

adkron commented on thoughtbot/shoulda Thu Feb 05 05:29:23 -0800 2009
Comment in f937c08:

I wasn’t thinking should_attr_accesible. I was really thinking that the old name was better.

evilchelu commented on thoughtbot/shoulda Thu Feb 05 04:50:56 -0800 2009
Comment in f937c08:

My random opinion is that should_attr_accesible and should_attr_protected sound kinda crappy.

Also, it seems that you have to list all your columns because there’s no difference in how attr_accessible and attr_protected are tested. I’d like these a bit more:

  • should_white_list_mass_assignement_to :blah
  • should_black_list_mass_assignement_to :blah
adkron commented on thoughtbot/shoulda Wed Feb 04 17:14:38 -0800 2009
Comment in f937c08:

Isn’t this going backwards form the recent deprecations. All the others have been moving to look more like what would be typed in the model, but this one is moving away form that. What is the reason?

adkron commented on thoughtbot/shoulda Tue Jan 27 19:57:43 -0800 2009
Comment in e9e98b9:

I don’t even use RSpec and I’m happy. You made me smile. Of course I did just look at this http://github.com/rails/rails/commit/66ee5890c5f21995b7fe0c486547f1287afe2b55

lucashungaro commented on thoughtbot/shoulda Mon Jan 26 19:26:10 -0800 2009

The commit has since been removed.

rmm5t commented on thoughtbot/shoulda Sat Jan 10 17:37:18 -0800 2009
Comment in ef10377:

For the record, this was Matt Lins (mlins) commit. I screwed up the ownership while resolving conflicts during a cherry-pick. My bad.

dancroak commented on thoughtbot/shoulda Sun Nov 09 12:09:03 -0800 2008

The commit has since been removed.

rmm5t commented on thoughtbot/shoulda Sat Sep 20 19:55:52 -0700 2008
Comment in 66eaccf:

Dan, just for future reference, this shoulda.gemspec file is auto-generated via rake gemspec. The version is derived from Thoughbot::Context::VERSION.

tsaleh commented on thoughtbot/shoulda Sat Sep 20 19:13:13 -0700 2008
Comment in 10303b2:

This was a mistake (and has been reverted), but we are going to be deprecating should_be_restful. See the discussion here: http://thoughtbot.lighthouseapp.com/projects/5807-shoulda/tickets/78-deprecate-should_be_restful#ticket-78-8

carlosbrando commented on thoughtbot/shoulda Sat Sep 20 16:25:42 -0700 2008
Comment in 10303b2:

Why was should_be_restful removed?

rmm5t commented on thoughtbot/shoulda Tue Sep 16 17:46:41 -0700 2008
Comment in edfd0f4:

brandonarbini, I just created a ticket to track the fix for this.

brandonarbini commented on thoughtbot/shoulda Tue Sep 16 13:40:01 -0700 2008
Comment in edfd0f4:

Unfortunately, this breaks shoulda on edge rails. default_error_messages are run through I18n now. I haven’t tried it, but I believe the older method will still work.

technicalpickles commented on thoughtbot/shoulda Mon Sep 15 12:12:31 -0700 2008
Comment in 2629a9a:

This should be fixed now, if not, bring it to the google group:

http://groups.google.com/group/shoulda

There was a thread earlier about the same problem:

http://groups.google.com/group/shoulda/browse_frm/thread/e446a2e49ee3e443

jinzhu commented on thoughtbot/shoulda Sun Sep 14 22:43:30 -0700 2008
Comment in 2629a9a:

when I modify tasks/shoulda.rake from require 'shoulda/tasks' to require "#{RAILS_ROOT}/vendor/plugins/shoulda/lib/shoulda/tasks.rb" ,things should be ok……

jinzhu commented on thoughtbot/shoulda Sun Sep 14 22:38:06 -0700 2008
Comment in 2629a9a:

rake aborted! no such file to load — shoulda/tasks

?

rmm5t commented on thoughtbot/shoulda Fri Sep 05 20:04:40 -0700 2008
Comment in 823cad3:

Doh, good catch Joe!

rmm5t commented on thoughtbot/shoulda Thu Aug 28 16:26:27 -0700 2008
Comment in 5411ccf:

Good call on the docs. I completely forgot to consider it when adding the feature.