Displaying 2 results from an estimated 2 matches for "methode1".
Did you mean:
methode
2006 Apr 12
13
rhtml produces so many white places?????
...time. I find out each time when the ruby
code execute, it will produce the html code correctly.
But the produced html will conseved the "format" of
the rhtml, and it adds a lot no used white space!!!!
example : toto.rhtml
<body>
<table>
<% data.each{ |x| %>
<% y = x.methode1 %>
<tr><td><%= y %></td><tr>
<% z = x.methode2 %>
<tr><td><%= z %></td><tr>
</table>
</body>
So if data has 3000 rolls, I will have a html like
this:
<body>
<table>
<tr><td>y1</td><t...
2006 Aug 11
1
Excluding all the methods of a class from a filter.
Hello, I would like to be able to exclude all the methods of a specific
class from being subject to methods called by before_filter entries.
Right now I have all those methods excluded using :except =>
[methode1,method2,...] but there must be a better way.
Thanks in advance,
Alexandre.
--
Posted via http://www.ruby-forum.com/.