Skip to content

Spec files loading from their own file. #28

@lightsofapollo

Description

@lightsofapollo

Hi All,

When debugging one of the first things I noticed is the backtraces seem to lead nowhere because the specs are included directly in the HTML file for the view. I made a quick hack to load them from their own file (using Sinatra + File.read) and it seems to work fine and give me correct backtraces.

Is there a reason for not including these files vs embedding them? I can easily submit a patch if you like.
I will probably commit this in a fork sometime today or tomorrow for my team to use either way.

Thank You,
James Lal

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions