Wednesday, February 28, 2007
Running Mongrel on Windows
Sunday, February 11, 2007
GeoKit
Description from website:
Geokit is a Rails plugin for building location-based apps. It provides geocoding, location finders, and distance calculation in one cohesive package. If you have any tables with latitude/longitude oolumns in your database, or if you every wanted to easily query for "all the stores within a 50 mile radius," then GeoKit is for you.
GeoKit: a plugin for location-based Rails apps - Web 2.0 Technologies
In-memory and in-database distance calculations -Web 2.0 Technologies
Use Google's smtp server within your Rails application
Rails and Google Apps / Gmail Integration - Depixelate
Friday, February 09, 2007
begin rescue else end
For example:
begin
# Your normal code block
rescue SomeException
# ... handling exception
else
# This part only run if the main code did not throw
# an exception.
ensure
# The very last thing to be run before the clause exit.
# Code in the ensure clause will always get execute.
end
You can read more about this at Jamis Buck blog entry, begin + else.
Ruby compiler for .Net
Gardens Point Ruby.NET Compiler
From their website:
"We are pleased to announce the release of a new Beta (version 0.6) of the Gardens Point Ruby.NET compiler. Implementation is not yet complete but we have now implemented the vast majority of Ruby's builtin classes and modules. We have fixed large numbers of existing bugs, but many still remain. We have not yet implemented continuations or Ruby threads but support most other language features.
In addition to passing all 871 tests in the samples/test.rb installation test suite of Ruby 1.8.2, we are now able to support the standard Ruby test unit library and pass most of the 1864 assertions in the test/ruby test directory."
Extending ActionController
Extending ActionController - Roby on Rails
Thursday, February 08, 2007
Intype code editor
From Intype's website:
"Intype is a powerful and intuitive code editor for Windows with lightning fast response. It is easily extensible and customizable, thanks in part to its support for scripting and native plug-ins. It makes development in any programming or scripting language quick and easy."
Tuesday, February 06, 2007
If you are having problem with the new RubyGems
ERROR: While executing gem … (NoMethodError) undefined
method `refresh’ for #
lately then here might be a fix to your problem.In case you're having trouble installing gems
Monday, February 05, 2007
Using Captchator service in Rails
Paging in Rails
I Will Paginate - ERR THE BLOG
Sunday, February 04, 2007
Active Merchant
The list of supported payment gateways from Active Merchant website.
Direct payment gateways:
- Authorize.net
- Moneris
- TrustCommerce
- LinkPoint
- Psigate
- Paypal Payments Pro
- Eway
- USA ePay
- Paypal Payflow Pro (Testing)
Offsite payment gateways:
- Paypal
- Chronopay
- Nochex
Steps to setup Ruby, Rails, and MySQL on MAC OS X
Building Ruby, Rails, Subversion, Mongrel, and MySQL on Mac OS X from HIVELOGIC.
Friday, February 02, 2007
Rails deployment help
Presentations from San Diego ruby users group
The San Diego ruby users group posted various videos of presentations at their meetings on ruby.
Piston
If you use svn:externals to manage plugins for your rails application then this utility will definitely make your life easier. It allows you to keep a copy of the plugin in your local repository and also allows you to update it with the external source.
What is the benefit of having a local copy of the plugin in your repository versus using svn:external? When you do svn update, it will be a lot faster since it doesn't need to go out to external repositories to check for updates.
When you want to sync the plugin with the external source, all you have to do is type:
$piston update vendor/rails
and then
$svn commit --message "sync up plugins with external source"
Life couldn't be easier.