Skip to content

Fix error with 'Add existing record' using record_select#229

Merged
scambra merged 1 commit intoactivescaffold:masterfrom
Envek:fix_add_existing_record_using_RS
Jan 22, 2013
Merged

Fix error with 'Add existing record' using record_select#229
scambra merged 1 commit intoactivescaffold:masterfrom
Envek:fix_add_existing_record_using_RS

Conversation

@Envek
Copy link
Contributor

@Envek Envek commented Jan 22, 2013

In Active Scaffold 3.2.12 (possibly in d7d2a14) was introduced a bug, that fires javascript error on selecting a record from record_select in 'Add existing record'.

The reason is an URL, that in that version and above become an javascript Object (Ruby hash), not a String.

Affected versions: rails-3.2 branch (/frontends/default/views/_form_association_footer.html.erb:37) version 3.2.12 and above and master branch (app/views/active_scaffold_overrides/_form_association_footer.html.erb:37).

There is a quick fix for master branch.

scambra added a commit that referenced this pull request Jan 22, 2013
Fix error with 'Add existing record' using record_select
@scambra scambra merged commit c6313f5 into activescaffold:master Jan 22, 2013
@scambra
Copy link
Member

scambra commented Jan 22, 2013

Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants