Skip to content

Instantly share code, notes, and snippets.

View elbouillon's full-sized avatar
😁

Mickael Kurmann elbouillon

😁
View GitHub Profile
@elbouillon
elbouillon / gist:304c0ede2cb26f6a5a3e
Last active August 29, 2015 14:23
Docker Configuration
# Docker Compose file
db:
image: postgres
ports:
- "5432"
web:
build: .
command: bundle exec rails s -p 3000 -b '0.0.0.0'
volumes:
- .:/myapp
### Keybase proof
I hereby claim:
* I am elbouillon on github.
* I am elbouillon (https://keybase.io/elbouillon) on keybase.
* I have a public key whose fingerprint is D0A5 818B 355E F577 B89F A7A9 3528 B8C7 88A0 5011
To claim this, I am signing this object:
@elbouillon
elbouillon / devise.fr.yml
Created May 13, 2011 12:14 — forked from jujudellago/devise.fr.yml
I18n French-CH translation for Devise - Update for devise-1.1.2
#########################################################################################################
# I18n French translation for Devise (http://github.com/plataformatec/devise)
# I18n traduction française pour Devise
#
# Mise à jour par Yabo-concept http://www.yabo-concept.ch pour refléter les dernières clés utilisées par devise
# dans la branche "translated-views"
# basé sur https://github.com/davidw/devise/blob/translated-views/config/locales/en.yml
# 15.3.2011
#########################################################################################################
diff --git a/dmCorePlugin/lib/doctrine/extension/DmGallery/DmGallery.php b/dmCorePlugin/lib/doctrine/extension/DmGallery/DmGallery.php
index 24b2a3e..3b5c1d9 100755
--- a/dmCorePlugin/lib/doctrine/extension/DmGallery/DmGallery.php
+++ b/dmCorePlugin/lib/doctrine/extension/DmGallery/DmGallery.php
@@ -18,7 +18,15 @@ class Doctrine_DmGallery extends Doctrine_Record_Generator
$this->hasColumn('dm_media_id', 'integer', null, array('notnull' => true));
- $this->hasColumn('dm_record_id', 'integer', null, array('notnull' => true));
+ $identifier = $this->_options['table']->getIdentifier();