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

Avatar

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

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

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"

HIH