Articles about RubyOnRails
Subscribe to my feed RSS about RubyOnRails
-
Do you want to use TinyMCE mediaplugin?
Wrote at November 20, 2009 by Filippo CamilloFor the last ruby on rails project I used tinyMCE through the great tinymce_hammer plugin (link). I needed YouTube support so, after googling it, I decided to use Media plu...
no comment yettags: development RubyOnRails ruby rails tinymce tips -
How to create a menu+submenu with javascript
Wrote at November 20, 2009 by Filippo CamilloDo you want to create an attractive and useful menu/submenu with javascript? Let's go! This is the menu html structure: Here is a simple Javascript code with two functio...
tags: javascript script tips development RubyOnRails -
Git doesn't ignore my ignored files...why? let me explain
Wrote at November 23, 2009 by Filippo CamilloI'm sure, you had issues at least one time with .gitignore file. You have to keep in mind that if a file is already being tracked by Git, you'll need to remove it from cha...
tags: tips git development RubyOnRails -
Ouch! I developed on sqlite3. I need to switch from sqlite to mysql database now
Wrote at December 07, 2009 by Filippo CamilloI'm currently working on a Ruby on Rails project with a team of 3 people. We used sqlite3 as database system because it's easly portable and versionable (only 1 file).But n...
tags: development ruby rails sql mysql sqlite RubyOnRails -
The beauty of metaprogramming in attr_accessor_with_default
Wrote at January 06, 2010 by Filippo Camilloattr_accessor is one of the beauty of ruby lang. Attr_accessor_with_default is an ActiveSupport’s Module extension very useful. For example, you can give attribute :profi...
tags: ruby rails tips RubyOnRails -
Virtualmin error: Suexec command on your system is...
Wrote at March 16, 2010 by Filippo Camillo...configured to only run scripts under /var/www, but the Virtualmin base directory is /home. CGI and PHP scripts run as domain owners will not be executed.I'm setting up a webs...
tags: script server linux virtualmin apache ubuntu RubyOnRails -
ActiveRecord: find with your local time zone
Wrote at April 29, 2010 by Filippo CamilloWhen you save or update an entry, ActiveRecord update automagically the special fields "created_at" and "updated_at" but it doesn't use your local timezone.It use instead UTC ti...
tags: mysql sqlite RubyOnRails