Archive for November, 2008

Email on Rails

Image Source: joeydevilla.com

This is a guide on how to send message from your email using Ruby on Rails. First thing to do is to create a mailer for you to use in your application.

  • Open the command prompt window or your terminal
  • Run “./script/generate mailer MyMailer” from your Rails application home directory

Then you will have to configure the mailer. To be able to do this you should;

In your text editor, open config/environment.rb
Then add this script in the file’s bottom part

config.action_mailer.delivery_method = :smtp
ActionMailer::Base.server_settings = {
:address => “smtp.example.com”,
:port => 25,
:user_name => “username”,
:password => “password”,
:authentication => :plain
}

ルビー、元気?

写真提供: eclips3media.com

数年前、オープンソースのソフトと技術がウェブ開発とウェブアプリケーション開発に参入した。 IT産業でのルビーオンレイルズの評判はパーフォーマンスとスケーラビリティの問題、両方に拍車がかかった。 ルビーオンレイルズはウェブアプリケーションのフレームワークである。 インドのルビーオンレイルズ開発はオープンソースのウェブプラットフォーム、LAMPに基づき、海外でのルビーオンレイルズの外注を提供する。
レイルズウエブ開発は豊富な機能と双方向性を持つ、完全でシンプルなウェブアプリケーションの開発を可能にする。 ルビーオンレイルズは電子商取引の開発、内容管理、オンラインコミュニティなどに適する。

Copyright ©Basic Ruby On Rails Programming.