Hai
I have one question
that Can i use class variable in Rails view?
Tell me
Bye
<a href="http://www.freewebs.com/hussaimar/">Visit My Website</a>
···
--
Posted via http://www.ruby-forum.com/.
Hai
I have one question
that Can i use class variable in Rails view?
Tell me
Bye
<a href="http://www.freewebs.com/hussaimar/">Visit My Website</a>
--
Posted via http://www.ruby-forum.com/.
Mohamed Hussain wrote:
Hai
I have one question
that Can i use class variable in Rails view?
I don't understand your question -- What do you mean by "Rails view"?
--
Travis Warlick
"Programming in Java is like dealing with your mom --
it's kind, forgiving, and gently chastising.
Programming in C++ is like dealing with a disgruntled
girlfriend -- it's cold, unforgiving, and doesn't tell
you what you've done wrong."
Technically nothing prevents you from using a class variable in rails
view and i guess your class variable should be available in view as
well if you declare it with
class FoobarController < ApplicationController
cattr_accessor :bar_baz
end
On 7/13/07, Travis D Warlick Jr <warlickt@operissystems.com> wrote:
Mohamed Hussain wrote:
> Hai
> I have one question
> that Can i use class variable in Rails view?I don't understand your question -- What do you mean by "Rails view"?
--
Travis Warlick