I know that use of components as a general purpose solution is discouraged. We have a specific piece of functionality that is perfect for them and we have been using them in that setup for some time with great success. Testing on 1.2RC1, they are all broken (across several apps). The components no longer seem able to locate their view files. We get this message: "Missing template /opt/local/lib/ruby/gems/1.8/gems/ activesupport-1.3.1.5618/lib/active_support/item_list/item_list/ item_list.rhtml" Each time they are called. The component view is in place (it hasn''t moved) and this works fine when I revert to 1.1.6. We do use the ''uses_component_template_root'' method call in the controller for each component but even if I test removing that, I still have the same problem. Has anyone else seen this problem? It seems as if components are broken entirely. Any help is very much appreciated. Best, Hunter --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
I can confirm that this happens with a fresh, new application out of the box. It seems as if component support is broken in this RC. If I am wrong, please let me know where I went off the rails (sorry, couldn''t resist). Best, Hunter On Nov 24, 2006, at 4:05 PM, Hunter Hillegas wrote:> > I know that use of components as a general purpose solution is > discouraged. We have a specific piece of functionality that is > perfect for them and we have been using them in that setup for some > time with great success. > > Testing on 1.2RC1, they are all broken (across several apps). The > components no longer seem able to locate their view files. > > We get this message: > > "Missing template /opt/local/lib/ruby/gems/1.8/gems/ > activesupport-1.3.1.5618/lib/active_support/item_list/item_list/ > item_list.rhtml" > > Each time they are called. The component view is in place (it hasn''t > moved) and this works fine when I revert to 1.1.6. > > We do use the ''uses_component_template_root'' method call in the > controller for each component but even if I test removing that, I > still have the same problem. > > Has anyone else seen this problem? It seems as if components are > broken entirely. > > Any help is very much appreciated. > > Best, > Hunter--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
> I can confirm that this happens with a fresh, new application out of > the box.Great. Could you get all that information gathered and post it in a ticket? We''ll make sure to deal with it before 1.2 final, then. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---