tvdeyen
Not a member
tvdeyen's latest activity
Tuesday, November 02 2010
-
tvdeyen commented at 8:53 AMThis is the error message:
ActionView::TemplateError (Called id for nil, which would mistakenly be 4 -- if you really wanted the id of nil, use object_id) on l...
Monday, November 01 2010
-
-
tvdeyen commented at 4:12 PMThis is sample code. I can't post the actual code here, because of privacy/legal terms. But the concept is exactly the same.
Maybe I explain what I want to achi...
-
tvdeyen commented at 1:46 PMIt's Rails 2.3.9
@order is nil inside the Order#new view. So you see, the Order#new method is called. What should not happen, because the before_filter should h...
-
tvdeyen commented at 1:09 PMSorry, this is not true. The Error comes from the action which is called, because the filter chain does not halt! Not from the template. This is my template. So...
-
tvdeyen created the ticket at 12:31 PMRendering a template (a view from a specific controller) does not halt the filter chain, but rendering a file halts the chain.
class Order < ApplicationControl...
Wednesday, September 01 2010
-
tvdeyen commented at 12:40 PM+1 from me. Have to go back to 2.3.5 for my App now. Then quotes are submitted correctly.
Thursday, January 28 2010
-
tvdeyen commented at 8:59 PMI've got it!
It should be
importinstead ofrequire.
So, the rake file for including custom rakefiles in folders different fromvendor/plugins/should look like... -
- Tag set to engines, plugins, rake
- Title changed from rake tasks at different plugin path to rake tasks at different plugin path disappearing after rails update
It should be:
Dir.glob(File.dirname(__FILE__) + "/../../vendor/new_folder/**/tasks/*.rake").each do |rake_file| require rake_file endbut this is not workin...