Posts that Andy Koch is monitoring

Subscribe to Posts that Andy Koch is monitoring 5 posts found

Jul 20, 2008
Avatar Ismail Degani 1 post

Topic: RJS partials - or - DRY RJS

Hi Andy, (and other softies)

I got this helper approach to work, but the problem is that my RJS needs a lot of the controller’s instance variables, and the helper doesn’t have access to this context.

I’m using YM4R to work with google maps, and I have an rjs that basically clears the maps and displays a few default markers retrieved from a database. I have other rjs files that do more complicated rendering, but before that they all need the same “reset” rjs code. What do you recommend?

Thanks, Ismail

 
Jan 17, 2008
Avatar RJ 12 posts

Topic: Git vs. SVN

Peepcode has a video on it. Here’s the preview .

 
Jan 10, 2008
Avatar gammons 2 posts

Topic: RJS partials - or - DRY RJS

Instead of writing .rjs files I typically render updates to a page in the controller.

render :update do |p| p.replace_html :contacts, :partial => “contacts_partial” end return

 
Jan 10, 2008
Avatar Jeff Cohen 89 posts

Topic: Git vs. SVN

I would love to know more about Git, too. Hopefully someone will chime in?

 
Aug 8, 2007
Avatar Brian Eng 49 posts

Topic: mounting Linux dirs on a Mac?

Are you simply trying to mount a remote drive? If so, it’s as easy as going to the finder and hitting command-K. Then put in smb://whatever.