Back from Spain …

Back from Spain

Well … vacation are always too short.

If you go to Spain do not miss :

  • Capo de Gata | The best beach of Spain
  • The sugar | A small but cool bar in Barcelona
  • Cadaques | Not too much life not too less
  • Jamon serrano | Not good as the Parma Ham but … :D
  • Madrid and Barcelona | Of course

After The Party

MM

Ok, the party was … check out the photos :-)

Import dump in MySQL

From a shell run

mysql -u USER -p DBNAME < dump.sql

then insert the password and is done.

Negroni – So easy so good …

For a perfect party …

Negroni

How to

  • Take a glass
  • a couple of icecube
  • half slice on orange
  • 1/3 of Bitter Campari
  • 1/3 of Red Martini
  • 1/3 of Gordon's Gin

I like to enjoy Negroni with Gorgonzola cheese or with anchovies in brine.

Cheers

Enable display errors for PHP

Create or open the file .htaccess and add this line

php_value display_errors On

BrianFellow's Party

Well, it's coming ! The party everybody is waiting for is almost here.

Subscribe at www.brianfellowstm.com

BFP : Location | Click to see it bigger

Commands

Module name Friend | Table name friends

Create the module

./script/generate controller Friends [list view new edit]

creates

apps/controllers/friends_controller.rb

apps/helpers/friends_helper.rb

if you specify any actions you will also get

app/view/friends/action.rhtml

To generate the model

./script/generate model Friend

If you wanna use the scaffold for this module just open

apps/controllers/friends_controller.rb

and modify it to

class FriendsController < ApplicationController
scaffold :friend
end

For a short and fast explanation about names in RoR have a look to Rails Tip Sheet

Kent Duchaine

Domenica 19 Marzo ore 17.00 – Presso l'antica chiesa di Perego

KENT DUCHAINE Il Bluesmen bianco più nero d’America

Ingresso 10 Euro con Aperitivo – Organzzato da Italian Blues River

Plugin not found: engine

If running this command :

./script/plugin install engines

you get the message:

Plugin not found: engines

Is because none of the server listed in your plugin sources has the engine plugin.

So, open the file .rails-plugin-sources

vi ~/.rails-plugin-sources

and add this line

http://opensvn.csie.org/rails_engines/plugins/

This source has the engine plugin and many other listed at http://rails-engines.org/

Yes !