Hi,
Just a short update about the Ajax select menus recipe.
I just refactored it using the new "hot-input" tag: It's much shorter
and works exactly the same :).
https://github.com/Hobo/hobodoc/blob/master/doc/tutorials/dynamic_ajax_select_menus.markdown
Regards,
Ignacio
El 07/01/13 14:32, Ignacio Huerta escribió:
Hi,
El 07/01/13 03:36, Bryan Larsen escribió:
On Sun, Jan 6, 2013 at 1:42 PM, Ignacio Huerta <[email protected]>
wrote:
Hi,
I reread the Ajax manual and everything I needed was already there
:). The
key is to create a hidden form (formlet in this case) and trigger it
in the
right moment.
Sorry, I missed you original email. The Ajax manual was updated for
2.0 only recently, so I'm glad you chose this time to reread it.
I created an updated recipe and an example app:
https://github.com/Hobo/hobodoc/blob/master/doc/tutorials/dynamic_ajax_select_menus.markdown
Some questions/notes:
- What's the recommented way of adding code snippets? Using `{:
.dryml}` at
the bottom seems to break dryml snippets in Github, and using ```xml
will
probably break the snippet in the Cookbook.
That's a very good question, I don't have an answer. We could try
switching from Maruku to redcarpet or kramdown. It's quite possible
one of the latter supports both snippet styles.
Ok, thanks, I'll create a card in Trello about this and try to spend
some time on it.
- Should I rename the file so it follows the numbering of the rest of
recipes?
No, that's only for legacy recipes.
Ok.
- Once the recipe goes live, it would be nice to update the old
recipes and
add links to the new version. I can do it once we have a public URL.
I'm doing so now. Feel free to play with the organization & order of
how the links are organized. The only real difference between a
"tutorial" and a "recipe" is that we're committed to updating the
tutorials for 2.0, but recipes are more historical.
Here's the current procedure to push any changes from hobodoc to the
cookbook, assuming you have the appropriate remotes set up.
(in hobo)
git fetch hobodoc
git merge hobodoc/master
git push hobo master
(in cookbook)
bundle update --source hobo
git add Gemfile.lock
git commit -m "update hobo"
git push hobo master
rake vlad:update && rake vlad:start_app
You don't yet have permission to do the last step, but we will try and
get it to you and hopefully a couple of other volunteers.
Perfect, thanks for the info. Just say if you want me to update anything.
Regards,
Ignacio
--
Ignacio Huerta Arteche
http://www.ihuerta.net
Teléfono: 0034 645 70 77 35
Email realizado con software libre
--
You received this message because you are subscribed to the Google Groups "Hobo
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/hobousers?hl=en.