I have a Rails app, made 10 years back in 2009 with following version:
rails version = 2.0.2
ruby version = 1.8.7
Database = PostgreSQL
Now what steps I should adopt in order to upgrade it to latest version of
ruby and rails i.e.,
rails version = 5.2
ruby version = 2.6
Database = PostgreSQL
As
I have deployed a ruby on rails app on two instances of production server,
now there are two separate log file are being created for different
instances. My question is how I can make a single log file for both the
instances?
--
You received this message because you are subscribed to the Googl
I don't think this is good idea. 1.month.to_i will return in seconds
as 2592000. you can store this and while fetching you can use it as it is
Time.now + 2592000
On Friday, 20 September 2013 03:30:16 UTC-4, Fai Wong wrote:
>
> If I store 1.month as a string in the database, how do I convert "1.mo
btw you can do it using "eval" like eval("1.month")
On Friday, 20 September 2013 03:30:16 UTC-4, Fai Wong wrote:
>
> If I store 1.month as a string in the database, how do I convert "1.month"
> into 1.month?
>
> This way I can use the "1.month" value stored in database to perform the
> following
4 matches
Mail list logo