Skip to content

Erector renders rails link_to in wrong order #47

@williscool

Description

@williscool

Here is my code

text "The #{a.class.name.titleize}: #{link_to(a.name , album_path(a))} has "

here's the desired output:

The Studio Album: <a href="/albums/360">Yeezus</a> has 10 songs on it. It was released on

here's the actual output:

<a href="/albums/360">Yeezus</a>The Studio Album:  has 10 songs on it. It was released on

Some how the link_to gets shuffled to the front. :(

rvm info

  ruby:
    interpreter:  "ruby"
    version:      "1.9.3p286"
    date:         "2012-10-12"
    platform:     "i686-linux"
    patchlevel:   "2012-10-12 revision 37165"
    full_version: "ruby 1.9.3p286 (2012-10-12 revision 37165) [i686-linux]"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions