Quantcast
Channel: Pragmatic Forums | Posts by Thuy Tran
Browsing latest articles
Browse All 8 View Live

undefined method 'fixtures' posted by Thuy Tran @ Mon, 18 Oct 2010 23:49:52...

I’ve followed the Agile book very carefully and I’ve done the project twice now, but I still get the following when I try Task T in the book.>ruby test/unit/cart_test.rb >DEPRECATION WARNING:...

View Article



Authorizing only on certain methods posted by Thuy Tran @ Sat, 24 Apr 2010...

On page 173, it says that you can “whitelist” methods or controllers.How does one whitelist only certain methods so that authorize isn’t called on them?For example, what if I want everyone to be able...

View Article

.create! method posted by Thuy Tran @ Sat, 24 Apr 2010 23:09:01 +0000

If I’m not mistaken, Rails is a framework and Ruby is the programming language.I don’t know any Ruby, so when I started the Agile book, I didn’t know what the @ or : characters meant when they preceded...

View Article

.create! method posted by Thuy Tran @ Fri, 23 Apr 2010 00:03:05 +0000

Before I start with the Agile book, is there a Ruby equivalent that would lay the foundation for learning Rails?

View Article

.create! method posted by Thuy Tran @ Thu, 22 Apr 2010 05:34:43 +0000

Hello,On page 61, we have the following code: def attack(other_user,move) attacks.create!(:defending_user=>other_user,:move=>move) end I don’t completely understand what is going on here. What is...

View Article


Rails Associations posted by Thuy Tran @ Thu, 22 Apr 2010 05:01:57 +0000

Hello,I’m confused about the associations listed on page 61: belongs_to :attacking_user, :class_name=>"User" , :foreign_key=>:attacking_user_id belongs_to :defending_user, :class_name=>"User"...

View Article

Death By Tutorial posted by Thuy Tran @ Thu, 22 Apr 2010 00:09:06 +0000

Actually, after inviting a friend, the app redirects to: http://apps.facebook.com/http://apps.facebook.com/canvas_path//invitations/newWhat’s going on here?

View Article

Death By Tutorial posted by Thuy Tran @ Wed, 21 Apr 2010 23:57:24 +0000

I got the same error:Errors while loading page from application Runtime errors: req-choice required as part of request-form content Can anyone tell me what the issue might be and possible fixes?

View Article

Browsing latest articles
Browse All 8 View Live


Latest Images