Displaying 3 results from an estimated 3 matches for "_body".
Did you mean:
body
2006 Feb 22
2
''this.initialize'' is null or not an object
...idget and it''s actually working nice (doesn''t
seem to be jumpy) now but I am receiving a javascript error in IE 6. Does
anybody have any ideas why it is happening? Thanks
<script language="javascript">
sbr_stretch(el) {
thisBodyId = el.parentNode.id + "_body";
thisBody = $(thisBodyId);
if (!Element.visible(thisBody)) {
panels =
el.parentNode.parentNode.getElementsByTagName(''div'');
var elup;
for (i = 0; i < panels.length; i++) {
if (panels[i].className == ''panel_body'') {...
2007 Sep 11
4
Problem returning a Proc
I''m just playing with a recent Merb trunk (-r590). All the specs pass, apart
from 2 pending.
Now, the README says: "if you return a Proc object from your action, it will
be called and the return value sent to the client."
However this doesn''t seem to work with the following test controller:
class Hello < Application
def world
res = "Hello world from
2009 May 03
1
Localizing attributes when using I18n
...nd_to?
(localized_method)
#{attribute_name}
end
}
end
end
it works fine for :show, :index, :new. But when I''m trying to create
or update, I get the following error:
ActiveRecord::UnknownAttributeError in NewsitemsController#create
unknown attribute: _body
What''s wrong? Please, help.