Skip to content

CoffeeScript files are not processed as expected #63

@ron-shinall

Description

@ron-shinall

With ReActionView enabled, .js.coffee are not processed as expected. The CoffeeScript file is rendering a partial:
$('tbody').append("<%= j render(:partial => 'patient', :collection => @patients) %>")

The partial contains a basic <tr><td>...</td></tr> structure with various ERB tags. The table structure is lost and there is some rendering of objects that looks more like inspect:
#<foo::Bar:0x0000000118ae3e90>

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions