Can anyone please guide me as to what is wrong with the following?
if @params[:page] >= 2
@title+=@params[:page]
end
Thanks
Frank
Can anyone please guide me as to what is wrong with the following?
if @params[:page] >= 2
@title+=@params[:page]
end
Thanks
Frank
On 2/6/06, softwareengineer 99 [email protected] wrote:
Can anyone please guide me as to what is wrong with the following?
if @params[:page] >= 2 @title+=@params[:page] end
The error you’re getting is … ?
Could it be
if @params[:page].to_i >= 2
Kent
Kent,
This may be the answer. I will test it out
thanks
Frank
Kent S. [email protected] wrote: Could it be
if @params[:page].to_i >= 2
Kent
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs