problem partial

48 views
Skip to first unread message

Naima

unread,
Jun 6, 2013, 8:06:15 AM6/6/13
to ged...@googlegroups.com
Hello!
Noticed a problem.
If the file application.html partial to add to the option! = yield ().
For example! = partial ('_footer')
The page will we see this error:
# # # partial # # # 9C44E053-3F7A-484D-BA0E-BE01085E8E

How to fix this error?

Matthew Eernisse

unread,
Jun 6, 2013, 2:12:31 PM6/6/13
to ged...@googlegroups.com
I don't understand the question. Are you saying you're passing a property called "yield" into the render properties?

Andrey Delov

unread,
Jun 7, 2013, 7:34:52 AM6/7/13
to ged...@googlegroups.com
this code not work correctly:
!= partial('_header')
.wrapper
  != yield()
!= partial('_footer')

instead of the template _footer, is displayed : ###partial### id

but this code work fine:

!= partial('_header')
!= partial('_footer')
.wrapper
  != yield()



четверг, 6 июня 2013 г., 22:12:31 UTC+4 пользователь Matthew Eernisse написал:

Matthew Eernisse

unread,
Jun 7, 2013, 6:59:31 PM6/7/13
to ged...@googlegroups.com
This looks like the same bug other people have been seeing with 'yield' -- there is an update that fixes this by using 'tender' instead. Try updating Geddy and changing to 'render' in your layout.
--
The official community discussion group.
website: geddyjs.org, source: https://github.com/mde/geddy, group: https://groups.google.com/d/forum/geddyjs?hl=en
---
You received this message because you are subscribed to the Google Groups "GeddyJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to geddyjs+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Matthew Eernisse

unread,
Jun 7, 2013, 7:36:45 PM6/7/13
to ged...@googlegroups.com
This looks like the same bug other people have been seeing with 'yield' -- there is an update that fixes this by using 'tender' instead. Try updating Geddy and changing to 'render' in your layout.

On Friday, June 7, 2013, Andrey Delov wrote:
--

Matthew Eernisse

unread,
Jun 12, 2013, 6:47:48 PM6/12/13
to ged...@googlegroups.com
This looks like the same bug other people have been seeing with 'yield' -- there is an update that fixes this by using 'tender' instead. Try updating Geddy and changing to 'render' in your layout.

On Friday, June 7, 2013, Andrey Delov wrote:
--

Nguyen Bao Nguyen

unread,
Jul 22, 2014, 9:41:28 AM7/22/14
to ged...@googlegroups.com
I had the same problem today. I've tried to use "render" instead of "yield" but the problem still exists. Every partial() call after "render()" is displayed as ###partial###id

Geddy version: 0.12.12

Please help :(
To unsubscribe from this group and stop receiving emails from it, send an email to geddyjs+unsubscribe@googlegroups.com.

Matthew Eernisse

unread,
Aug 20, 2014, 9:55:01 PM8/20/14
to ged...@googlegroups.com
Is this with Jade, or some other templating engine?


To unsubscribe from this group and stop receiving emails from it, send an email to geddyjs+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages