focused_controller icon indicating copy to clipboard operation
focused_controller copied to clipboard

Results 5 focused_controller issues
Sort by recently updated
recently updated
newest added

Instance variables set in _call_ are not available in template. ``` ruby module FooController class Bar < Action def call @foo = 'foofoo' end end end ``` bar.html.erb ``` ruby...

When an `ActionController` method that corresponds to the URL is missing, it throws an `ActionNotFound` exception and a custom error page is rendered. This is helpful in production. Do you...

Whenever I assert the rendering of a template, I need to explicitly call `render` inside the `call` method for the specs to pass. Going down the stack a bit, it...

See the below specification: ``` ruby context 'For valid authentication' do Given { subject.params = { authentication: { email: '[email protected]' } } } Given { subject.authentication.stub(:legitimate?).and_return(true) } Given { Authentication.any_instance.stub_chain(:user,...

@avdi has proposed a DSL syntax: https://gist.github.com/3757036 I initially resisted adding a DSL to FC because: - I didn't want to obscure "what lies beneath" too much - I don't...