Active Record Validations and Callbacks – Skipping rails validations
Active Record Validations and Callbacks – Skipping rails validations
Link
Reply
Sendmail & Spam Filter Tricks in Rails – sendmail configuration
I had to setup this configuration to make sendmail work with a recent rails application:
ActionMailer::Base.delivery_method = :sendmail
ActionMailer::Base.sendmail_settings = {
:location => '/usr/sbin/sendmail',
:arguments => '-i -t -f support@yourapp.com'
}
Another useful routing screencast. This screencast explains how to create a catch all route.
Excellent Ruby on Rails routing tutorial for creating custom routes. Explains how routes can be defined to pass parameters into the controller.
No entries found. |
No entries found. |
0.2930 |
|
0.9010 |
|
0.3159 |
|
0.2501 |
|
0.2940 |
|
0.2489 |
|
0.2439 |
|
0.5360 |
|
0.2959 |
|
0.6289 |
|
0.3729 |
|
1.1702 |
|
0.3700 |
|
0.8430 |
|
0.5131 |
|
2.1510 |
|
0.7830 |
|
0.7541 |
|
0.3688 |
|
0.4182 |
|
0.6869 |
|
1.5421 |
|
0.9999 |
|
0.6258 |
|
0.7331 |
|
1.2901 |
|
0.5882 |
|
0.5839 |
|
9.8400 |
|
0.4230 |
|
1.3640 |
|
1.0068 |
|
0.6969 |
|
2.8770 |
|
0.8459 |
|
0.6690 |
|
[0] => themes/twentyeleven/inc/theme-options.php [1] => themes/twentyeleven/inc/widgets.php [2] => themes/twentyeleven/tag.php [3] => themes/twentyeleven/header.php [4] => themes/twentyeleven/searchform.php [5] => themes/twentyeleven/content-link.php [6] => themes/twentyeleven/sidebar.php [7] => themes/twentyeleven/footer.php [8] => themes/twentyeleven/sidebar-footer.php
$_GET = array (
);
$_POST = array (
);
$_COOKIE = array (
);
$_SESSION = array (
);
$_SERVER = array (
'SERVER_SOFTWARE' => 'Apache',
'REQUEST_URI' => '/tag/ruby-on-rails/page/2/',
'LSPHP_ENABLE_USER_INI' => 'on',
'PATH' => '/usr/local/bin:/usr/bin:/bin',
'TEMP' => '/tmp',
'TMP' => '/tmp',
'TMPDIR' => '/tmp',
'PWD' => '/',
'HTTP_ACCEPT' => '*/*',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'CONTENT_LENGTH' => '0',
'HTTP_HOST' => 'www.zzzzzzzzz.net',
'HTTP_REFERER' => 'https://zzzzzzzzz.net/tag/ruby-on-rails/page/2',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_X_HTTPS' => '1',
'REDIRECT_UNIQUE_ID' => 'Z4siT4MtdxEz0j7kZz0iHAABgkE',
'REDIRECT_QS_ConnectionId' => '173717153507888381727437',
'REDIRECT_SCRIPT_URL' => '/tag/ruby-on-rails/page/2/',
'REDIRECT_SCRIPT_URI' => 'https://www.zzzzzzzzz.net/tag/ruby-on-rails/page/2/',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'www.zzzzzzzzz.net',
'REDIRECT_HTTP2' => 'on',
'REDIRECT_H2PUSH' => 'off',
'REDIRECT_H2_PUSH' => 'off',
'REDIRECT_H2_PUSHED' => '',
'REDIRECT_H2_PUSHED_ON' => '',
'REDIRECT_H2_STREAM_ID' => '1',
'REDIRECT_H2_STREAM_TAG' => '727437-809-1',
'REDIRECT_STATUS' => '200',
'UNIQUE_ID' => 'Z4siT4MtdxEz0j7kZz0iHAABgkE',
'QS_ConnectionId' => '173717153507888381727437',
'SCRIPT_URL' => '/tag/ruby-on-rails/page/2/',
'SCRIPT_URI' => 'https://www.zzzzzzzzz.net/tag/ruby-on-rails/page/2/',
'HTTPS' => 'on',
'SSL_TLS_SNI' => 'www.zzzzzzzzz.net',
'HTTP2' => 'on',
'H2PUSH' => 'off',
'H2_PUSH' => 'off',
'H2_PUSHED' => '',
'H2_PUSHED_ON' => '',
'H2_STREAM_ID' => '1',
'H2_STREAM_TAG' => '727437-809-1',
'SERVER_SIGNATURE' => '',
'SERVER_NAME' => 'www.zzzzzzzzz.net',
'SERVER_ADDR' => '192.185.137.117',
'SERVER_PORT' => '443',
'REMOTE_ADDR' => '18.119.166.141',
'DOCUMENT_ROOT' => '/home1/zzz/public_html',
'REQUEST_SCHEME' => 'https',
'CONTEXT_PREFIX' => '',
'CONTEXT_DOCUMENT_ROOT' => '/home1/zzz/public_html',
'SERVER_ADMIN' => 'webmaster@zzzzzzzzz.net',
'SCRIPT_FILENAME' => '/home1/zzz/public_html/index.php',
'REMOTE_PORT' => '60878',
'REDIRECT_URL' => '/tag/ruby-on-rails/page/2/',
'SERVER_PROTOCOL' => 'HTTP/2.0',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => '',
'SCRIPT_NAME' => '/index.php',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => 1737171535.0880339145660400390625,
'REQUEST_TIME' => 1737171535,
'argv' =>
array (
),
'argc' => 0,
);