Archive for November, 2011

Installing Ruby on Rails Ubuntu 12.04 LTS using RVM and Ruby 1.9.3

Ruby Rails is a Web application framework created in 2004 intended as a rapid development web framework that runs the Ruby programing language. The latest version of the Ruby is ‘Ruby 1.9.2‘ and was realised in August 2011, it brings many new features and bug fixeses. The most signifiant changes are Block local variables, An additional lambda syntax, Per-string character encodings are supported and a new New socket API (IPv6 support). You can find a great walkthrough of all the new features at Ruby Inside. coinciding with the release of Ruby 1.9 is the Rails 3.1 framework which requires Ruby 1.8.7 or higher. RubyonRails 3.1 brings many new features, most notably: jQuery as default, HTTP Streaming, a new assets pipeline powered by Sprockets 2.0. So this is all good stuff and I’m sure you want to be working with the latest version of Ruby and RubyonRails, especially if you setting up a new server. Read the rest of this entry »

, , , , , , , , , , , ,

4 Comments

How To Install Ruby on Rails Ubuntu Server 11.10

Ruby Rails is a Web application framework created in 2004 intended as a rapid development web framework. It was intended to emphasize Convention over Configuration (CoC) meaning the developer only needs to specify unconventional aspects of the application. For example, if there is a class Sale in the model, the corresponding table in the database is called sales by default. It is only if one deviates from this convention, such as calling the table “products sold”, that the developer needs to write code regarding these names. It has also been designed around the “Don’t repeat yourself” principle. Both of these ways of thinking allow you, with Ruby Rails, to create excellent, dynamic websites very quickly. So to get started we need to setup a Ruby Rails development server on Ubuntu (Ubuntu 11.04, Ubuntu 11.10) Read the rest of this entry »

, , , , , , , , , , , , ,

1 Comment

How to mass/bulk delete all unapproved comments from wordpress

Do you have the problem of hundreds of comments building up on your WordPress site, we’ll the best solution is to check it regularly and delete the unwanted comments, just leaving the appropriate ones. However what happens if you go on holiday for a week and don’t check your blog, or if your forget to look at your comments for a few day (i.e. lost weekend down the pub) well you’ll probably find several hundred comments have built up in this time. Now you can delete these comments manually but this is time consuming. To make your life easier I’m going to go through some simple ways of deleting all unapproved comments while not using phpMyAdmin (as every other tutorial I’ve seen does use phpMyAdmin). Read the rest of this entry »

, , , , , , , ,

No Comments