On Jan 2, 2006, at 3:12 PM, Michael Koziarski wrote:Is this happening for a reason? It seems to me that Rails should bea little more robust on its "minimum requirements" for a basiccontroller and view to work properly. I'd like to investigatefurther, so I'm looking for a little feedback first.Dua
> Is this happening for a reason? It seems to me that Rails should be
> a little more robust on its "minimum requirements" for a basic
> controller and view to work properly. I'd like to investigate
> further, so I'm looking for a little feedback first.
>
> Duane Johnson
> (canadaduane)
> http://
This is from the rails mailing list:
On Jan 1, 2006, at 4:00 PM, Duane Johnson wrote:
I thought I knew the answer to this question ('yes'), however,
recently I've been trying to build an app that detects whether or
not the administrator has correctly configured the database. I'd
like to
Andreas wrote:
Zach Dennis wrote:
Whats the status (if any) on namespace pollution in rails? Are things
moving towards a friendlier namespace or no?
If not, I would like to open it up for discussion and perhaps suggest
some idea to fix this,
Did you read
http://wrath.rubyonrails.org/pipe
On Dec 30, 2005, at 4:52 PM, Nathaniel S. H. Brown wrote:
I have tried all night trying to find a way to get the host name
which is
currently being used within my routes.rb file to do some case/when
switching
for specific domains such as this
cgi = ActionController::CgiRequest.new(
Zach Dennis wrote:
Whats the status (if any) on namespace pollution in rails? Are things
moving towards a friendlier namespace or no?
If not, I would like to open it up for discussion and perhaps suggest
some idea to fix this,
Did you read
http://wrath.rubyonrails.org/pipermail/rails-core/2
On 2-jan-2006, at 10:48, Jean-Christophe Michel wrote:
def my_method
return true if @@my_method_called
@@my_method_called = true
# do something
end
Sure it would work. Is it a good practice to use a global for such a
problem ?
@@class_var.
--
Regards, Charles.
__
Rick Bradley a écrit :
>>I'm wondering if there is a simple solution to call a method once per
>>page request.
>>
> Seems like a before_filter should be sufficient, simply
>
> def my_method
> return true if @@my_method_called
> @@my_method_called = true
> # do something
> end
Sure it would
Whats the status (if any) on namespace pollution in rails? Are things
moving towards a friendlier namespace or no?
If not, I would like to open it up for discussion and perhaps suggest
some idea to fix this,
Zach
___
Rails-core mailing list
Rails-co