if there is a new js file it will send that back to the form $('#newlink).prepend('< …">

Hack hack hack...

An open journal-- some of it written for you, but most of it is for me.

FIS Day31

AJAX

<div id="hidden" style="display:none">

format.js -> if there is a new js file it will send that back to the form

$('#newlink).prepend('<%= j render("form") %>')

Partials

<%= render @mixtape.songs %> this will render this collection of songs

<%= render :collection => @mixtape.songs :partial => 'songs/song_li' %>

Action Mailer

gem postmark-rails

https://github.com/wildbit/postmark-rails

rails d mailer mixtapes rails g mailer mixtapes

1
2
@mail = MixtapeMailer.new_song(@mixtape.song, current_user)
@mail.deliver

Comments