Make the rails:template rake task load initializers #14325

Merged
merged 1 commit into from Mar 8, 2014

Conversation

Projects
None yet
2 participants
Member

robin850 commented Mar 8, 2014

Hello,

As pointed in #12133, templates could rely on irregular inflections or external libraries for instance so we should load the application's initializers when running the rails:template task.

The introducing commit of this feature is f7f1136 ; the initializers have never been loaded invoking this task.

Fixes #12133.

Have a nice day.

@robin850 robin850 Make the rails:template rake task load initializers
Templates could rely on irregular inflections or external libraries for
instance so we should load the application's initializers when running
the rails:template task.

The introducing commit of this feature is f7f1136 ; the initializers
have never been loaded invoking this task.

Fixes #12133.
9c53b8b

@spastorino spastorino added a commit that referenced this pull request Mar 8, 2014

@spastorino spastorino Merge pull request #14325 from robin850/issue-12133
Make the rails:template rake task load initializers
1fbb905

@spastorino spastorino merged commit 1fbb905 into rails:master Mar 8, 2014

1 check passed

default The Travis CI build passed
Details

robin850 deleted the robin850:issue-12133 branch Mar 8, 2014

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