I am making a rails app and having a ridiculously hard time trying to get the Redbox plugin to work. I'm pretty sure I installed everything correctly and am using it properly. When I use one of the helper methods, it seems to generate javascript properly. For example when I type:
<%= link_to_redbox 'hello', 'test' %>
it generates:
<a href="#" onclick="RedBox.showInline('test'); return false;">hello</a>
which seems correct if i want to show a non visible ( display:none;
) div called test.
I'm so confused on this one. I'm pretty sure it is not finding the js or something but don't see why this would be. The redbox.js link is generated as:
<script src="/javascripts/redbox.js?1239506092" type="text/javascript"></script>