it's finding the action OK, so my guess is that something is
triggering an activerecord exception.      Foo.find(17) can result in
a 404 in production mode if there is no 17.

Bryan


On Wed, May 23, 2012 at 6:42 PM, [email protected]
<[email protected]> wrote:
> I have a page in my app that renders fine in dev mode but give the following
> error in production mode:
>
> Started GET "/transactions/recommendations" for 127.0.0.1 at 2012-05-23
> 15:31:36 -0700
>   Processing by TransactionsController#recommendations as HTML
>   DRYML: Compiled
> /Users/pauldavis/.rvm/gems/ruby-1.9.2-p320/gems/dryml-1.3.0/taglibs/core.dryml
> in 0.02s
>   DRYML: Compiled app/views/taglibs/auto/rapid/cards.dryml in 0.03s
>   DRYML: Compiled app/views/taglibs/auto/rapid/pages.dryml in 0.16s
>   DRYML: Compiled app/views/taglibs/auto/rapid/forms.dryml in 0.03s
>   DRYML: Compiled app/views/transactions/recommendations.dryml in 0.44s
> Rendered transactions/recommendations.dryml (1902.6ms)
> Rendered controller: transactions; dryml-tag: not-found-page (15.8ms)
> Completed 404 Not Found in 1949ms (Views: 19.7ms | ActiveRecord: 31.8ms)
>
> The main difference between dev and production is that dev uses SQLite (for
> now) and production uses MySQL. Other pages in the app render fine. Not sure
> how the DB change might affect it.
>
> I will try using the production database config in dev mode and see what I
> can learn.
>
> Happy to hear any insight.
>
> Thanks!
>
> --
> You received this message because you are subscribed to the Google Groups
> "Hobo Users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/hobousers/-/c9Y4TGjIn38J.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/hobousers?hl=en.

-- 
You received this message because you are subscribed to the Google Groups "Hobo 
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/hobousers?hl=en.

Reply via email to