Follow Along as I Stumble on the Path to Learning RoR

Posts tagged “remote

Changing URL for Remote

I changed the hosting of my repo from Github to Bitbucket.  I like Bitbucket because not only does it house the code and history, but also it ties in with a bug tracker that allows for tracking (and assigning) of bugs, but also collaboration with developers.

To remap my remote repo, I did this:

git remote set-url [example] [git://github.com/user/test.git]

where:

[example] = repo name

[git://github.com/user/test.git] = new repo url


Links for using :remote for Ajax and Javascript in Rails 3

Some good articles on how to use Ajax/Javascript with Rails 3:

http://www.simonecarletti.com/blog/2010/06/unobtrusive-javascript-in-rails-3/

http://rails.rubyonrails.org/classes/ActionView/Helpers/JavaScriptHelper.html#M002239

http://railscasts.com/episodes/294-playing-with-pjax