Created
November 12, 2008 23:12
-
-
Save nitsujw/24305 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def create | |
... | |
## Using @comment.post and @comment.post.id both error out | |
eager_cache([Posts, :show], :store => :action_store) { self.class.build_request(url(:post, @comment.post)) } | |
eager_cache([Posts, :show], :store => :action_store) { self.class.build_request(url(:post, @comment.post.id)) } | |
... | |
end | |
.... Enter comment into SQL .... | |
merb : worker (port 4000) ~ Params: {} | |
merb : worker (port 4000) ~ | |
merb : worker (port 4000) ~ Worker Thread Crashed with Exception: | |
Merb::ControllerExceptions::BadRequest - (Merb::ControllerExceptions::BadRequest) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment