This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#to use rails you need to compile rvm with ssl and readline | |
#http://dev.mensfeld.pl/2011/06/rvm-i-no-such-file-to-load-openssl/ | |
#https://rvm.beginrescueend.com/packages/openssl/ | |
#sudo apt-get install openssl libssl-dev libreadline6-dev | |
rvm pkg install openssl | |
rvm pkg install readline | |
rvm remove 1.9.2 | |
rvm cleanup all | |
rvm install 1.9.2 --with-openssl-dir=$rvm_path/usr, --with-readline-dir=$rvm_path/usr |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
foreach ($form->getMessages() as $fieldName => $errorMessages) { | |
foreach ($errorMessages as $messageKey => $message) { | |
echo $fieldName.': '.$messageKey.' -> '.$message.'<br />'; | |
} | |
} |
NewerOlder