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 …
- Madrid and Barcelona | Of course
Posted in Party, Travels | No Comments »
Ok, the party was … check out the photos
Posted in Party | No Comments »
From a shell run
mysql -u USER -p DBNAME < dump.sql
then insert the password and is done.
Posted in Things I forget | No Comments »
For a perfect party …
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
Posted in Food, Party, Perego2night | No Comments »
Create or open the file .htaccess and add this line
php_value display_errors On
Posted in Things I forget | No Comments »
Well, it's coming ! The party everybody is waiting for is almost here.
Subscribe at www.brianfellowstm.com
Posted in Perego2night | No Comments »
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
Posted in Travelling on Rails | Comments Off
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
Posted in Perego2night | No Comments »
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/
Posted in Travelling on Rails | No Comments »