( kh )

Archive for July 2009

Ruby on Rails: RJS Error Object Error in IE6

Posted by: khirakawa on: July 21, 2009

Are you getting an RJS error in IE6, that reads “[ Object Error ]“, followed by escaped javascript? That’s what I was getting last night while I was creating some simple navigation tabs. It was frustrating because it worked in Firefox and Safari, but not IE6. And the error message? Object Error? What does that [...]

Ruby on Rails: assert_select_rjs :remove failure

Posted by: khirakawa on: July 15, 2009

Being a newbie rails developer, there are a number of rails caveats that I wish I knew beforehand, such as this one: Suppose I have a div with id = “test” and I have a controller function that removes the div using page[:test].remove Now suppose I have a functional test as such: assert_select_rjs :remove, “test” [...]



  • None
  • dsa: you should use assert_select_rjs :chained_remove, "test" because you are using chained method or you can use in your controller page.remove "test", or

Categories

Archives

Follow

Get every new post delivered to your Inbox.