called javascript method and ruby method with 1 button?

You can use the link_to_function helper to setup the call to JS or
just use straight js to do that. Inside your js function use
Ajax.Request or one of its subclasses to call the controller action
using XmlHttpRequest.

Michael