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
# Additional translations at https://github.com/plataformatec/devise/wiki/I18n | |
es: | |
devise: | |
confirmations: | |
confirmed: "Tu cuenta ya ha sido confirmada." | |
confirmed_and_signed_in: "Tu cuenta ya ha sido confirmada. Has sido indentificado." | |
send_instructions: "Recibir谩s un correo electr贸nico en unos minutos con instrucciones sobre c贸mo reestablecer tu contrase帽a." | |
send_paranoid_instructions: "Si tu correo electr贸nico existe en nuestra base de datos, recibir谩s un correo electr贸nico en unos minutos con instrucciones sobre c贸mo reiniciar tu contrase帽a." | |
failure: |
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
1. Desinstalar todo rastro de ImageMagick e ImageMagik-devel | |
sudo yum remove ImageMagick | |
sudo yum remove ImageMagick-devel | |
2. Instalar complementos previos: | |
sudo yum install tcl-devel libpng-devel libjpeg-devel ghostscript-devel bzip2-devel freetype-devel libtiff-devel | |
3. Bajarse el ImageMagick desde las fuentes: | |
mkdir ~/sources | |
cd ~/sources |
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
def calcular_tem(tea) | |
(((1 + (tea/100))**(1.0/12.0)) - 1) * 100 | |
end |
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
# Send password reset notification | |
# path: app/mailers/user_mailer.rb | |
class UserMailer < ActionMailer::Base | |
default :from => "[email protected]" | |
def password_reset(user, password) | |
@user = user | |
@password = password | |
mail(:to => user.email, | |
:subject => 'Password Reset Notification') |
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
# Additional translations at http://github.com/plataformatec/devise/wiki/I18n | |
# Translation by William Wong Garay (willywg) https://github.com/willywg | |
es: | |
errors: | |
messages: | |
expired: "ha expirado, por favor solicita una nueva" | |
not_found: "no se encontr贸" | |
already_confirmed: "ya fue confirmado, por favor intenta iniciar sesi贸n" | |
not_locked: "no estaba bloqueado" |
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
Estado inicial de app: | |
* Ruby 1.8.7 | |
* Rails 2.3.8 | |
--------- | |
Pasos: | |
1. Instalamos Rails 2.3.12: gem install rails -v=2.3.12 | |
2. Instalamos con RVM Ruby 1.9.2 | |
3. Pasar la app a la version 2.3.x mas reciente. A la fecha (3/8/2011) es la 2.3.11. Para esto cambiamos en config/environment.rb de RAILS_GEM_VERSION = '2.3.8' a RAILS_GEM_VERSION = '2.3.12' | |
4. Corremos el server para ver posibles problemas. (Deprecated functions por ejemplo) y hacemios uso de google para darles una rapida solucion. |
NewerOlder