Application and Server variables

Hi all,
Just as we use session variables like session[:variable_name], I
would like to know if we have some way to express an application
variable or are application variables are existent in Ruby on rails.

Thanks and regards…
prasad

surjya hazarika wrote:

Hi all,
Just as we use session variables like session[:variable_name], I
would like to know if we have some way to express an application
variable or are application variables are existent in Ruby on rails.

Nope… You can either have constants in environment.rb, values in the
database, or an external DRb server to have the same effect, though.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs