RailsCasts Pro episodes are now free!

Learn more or hide this

Ala'a Mohammad Alawi's Profile

GitHub User: fighting-spirit

Comments by Ala'a Mohammad Alawi


Thanks for the revision!

also check the .live method in jQuery. from the doc:

Attach an event handler for all elements which match the current selector, now and in the future.

so you can do something like

$('.edit_task').live('click', function ...

I used the method below to generate page previews of uploaded pdf files.

system "convert -verbose -density 150 #{file_path}[#{from_page}-#{to_page}] -quality 100 #{output_file_path}.png"