Tags » Ruby On Rails

Rails 4: Set Application-Wide Date/DateTime/Time Display Format

If you are like me, you want the all dates and times to display throughout your application using the same format. This can be accomplished through the following procedure. 192 more words

Ruby

Configure log Rotate on Rails production...............

You may come across a situation when your application logs become very huge or you may want logs categorized on the basis of date.

Also your log files can grow fast, especially if you have a lot of traffic. 271 more words

Learning

Rails: Different storage for carrierwave assets depending on the environment

I am using carrierwave for storing images, one (or more) per field of a table in a database of the my Rails app. Given that heroku does not allow assets to be uploaded by the user, or dynamically for that matter, I had to use storage in the cloud. 352 more words

Ruby On Rails

What we do ?

We provide the ability to make any system with the latest technologies using php codeiginter, or ruby on rails, angular JS , responsive web design , bootstrap … etc

Latest Technologies

Rails Ajax with Collections

I got stuck trying to refresh a list of voters for a post with ajax. Turns out I have to explicitly give the ajax method access to the collection. 93 more words

Ruby On Rails

Install Ruby on Rails on CentOS

Install Ruby

 yum install ruby

install Ruby dependancies.

yum install gcc g++ make automake autoconf curl-devel openssl-devel zlib-devel httpd-devel apr-devel apr-util-devel sqlite-devel
yum install ruby-rdoc ruby-devel… 27 more words
Linux

Deploy a Rails 4 app with Capistrano 3

For several reasons, including reducing infra costs, we recently bought a dedicated server on OVH to move all our Rails apps on it. We needed to add the deployment scripts, and set up a staging environment. 875 more words

Ruby On Rails