Skip to content

Conversation

@christopherstyles
Copy link

When uncommenting the line (at the first hash), one would expect connect_to_development_server to reflect the result of Rails.env.development?, unless catching that the intended echo statement later in the same line was also commented out. For the expected behavior, the <%# needs to also be uncommented as <%=, which is easy to miss and difficult to debug.

Fixes #54.

When uncommenting the line (at the first hash), one would expect `connect_to_development_server` to reflect the result of `Rails.env.development?`, unless catching that the intended echo statement later in the same line was _also_ commented out. For the expected behavior, the `<%#` needs to also be uncommented as `<%=`, which is easy to miss and difficult to debug.

Fixes rails#54.
Copy link

@alexanderholder alexanderholder left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤦‍♂️ ❤️ 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.

Unable to connect to development server for apple with Rails.env.development?

2 participants