Skip to content
This repository was archived by the owner on Jan 1, 2024. It is now read-only.

2-minute demo instructions update and skip HTML escape#38

Closed
webandy wants to merge 5 commits intoassaf:masterfrom
webandy:master
Closed

2-minute demo instructions update and skip HTML escape#38
webandy wants to merge 5 commits intoassaf:masterfrom
webandy:master

Conversation

@webandy
Copy link
Copy Markdown
Contributor

@webandy webandy commented Feb 18, 2011

Hi Assaf. There are two commits here. I tried to segment the 2-minute demo instructions into separate instructions for Rails 2.x and Rails 3.x. I also added some additional instructions at some points that tripped me up getting set up initially, that I'm suggesting as feedback, but I leave it up to you whether or not you want to include them. My feeling is that the "2-minute demo" instructions should be bulletproof. Personally I love these kinds of short getting started instructions, I'll create a sample app, run through them, and it gives a good idea of how maintained the code is. I think some instructions are missing from the 2-minute demo now to make this possible, so I tried to provide the minimum that I missed.

Then the other thing is a suggested patch to use "each" instead of "map" in one of the partials for the vanity dashboard. I just hacked that in locally for myself (might be something better to do here) so that the html was not escaped in this case. For some reason your "do not html escape" code (or "raw" for Rails 3) didn't work inside the block of map(), but does work inside the block of each(). Must be a Ruby thing I don't really understand.

Thanks!

@webandy
Copy link
Copy Markdown
Contributor Author

webandy commented Mar 15, 2011

Hi Assaf. I added some more stuff. If you like some of it you might want to cherry pick. What I added:

4d540e3: adds parent application name to redis key. added a test for this. haven't put this into production yet.

7501456: added a failing test case for a current issue where the "collecting" property does not seem to be read from vanity.yml. There is a Github issue for this.

@assaf
Copy link
Copy Markdown
Owner

assaf commented Apr 11, 2011

Thanks, merged the documentation changes and used failing test case to fix the underlying issue.

Don't want to change the namespace (again). Not sure what the template changes to and why each in a <%= block.

@assaf assaf closed this Apr 11, 2011
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants