02 May '12, 12am

Rails 3: Introdução a Javascript Não-Obstrutivo e Responders - #jQuery #javascript

É exatamente a mesma coisa mas agora sem a camada extra do RJS que transformava o Ruby em Javascript. E com isso você poderia usar qualquer outra biblioteca como MooTools ou Dojo. Muito simples e pode ser feito hoje, no Rails 2.3.5 atual. O truque é usar ERB , da mesma forma como nos seus templates HTML . Mas quando o ERB gerar HTML , você precisa passar pelo método “escape_javascript”, para que o resultado possa ser incorporado a uma string Javascript sem erros de sintaxe. Daí esse blob é repassado de volta na chamada Ajax e interpretada pelo navegador para realizar as modificações necessárias ao

Full article: http://akitaonrails.com/2010/05/10/rails-3-introducao-a-j...

Tweets

lindeza

solestruck.com 12 May '12, 10pm

5 Ways to Speed Up Your Rails App | Union Station:

engineyard.com 02 May '12, 4am

Ruby is a fast language, and a great one in so many ways, but nothing in this world is truly free. It’s very easy to do th...

Legacy Concerns in Rails

rubyflow.com 01 May '12, 4pm

Legacy Concerns in Rails Posted by schneems on May 01, 2012 — 0 comments The cats out of the bag, Ruby isn’t immune to leg...

Rails authentication today: Options for 3.0 and...

everydayrails.com 01 May '12, 8pm

Rails authentication today: Options for 3.0 and 3.1 September 21, 2011 Early on in Everyday Rails , I outlined three optio...

@bfarrellforever They do when it looks like this:

unicorn.bogomips.org 05 May '12, 4pm

Designed for Rack, Unix, fast clients, and ease-of-debugging. We cut out everything that is better supported by the operat...

Tested CSV export in Rails 3, new take on an ol...

rubyflow.com 01 May '12, 9am

Tested CSV export in Rails 3, new take on an old problem Posted by spyou on May 01, 2012 — 0 comments I needed to do a CSV...

3 YORKS takes control of Nahr-e Saraj

mod.uk 01 May '12, 3pm

Nahr-e Saraj district is one of three in Helmand where British troops are deployed, and the last where Task Force Helmand ...

Upload CSV in Rails 3 and test with capybara

rubyflow.com 03 May '12, 8am

Upload CSV in Rails 3 and test with capybara Posted by spyou on May 03, 2012 — 0 comments Again a new take on an old probl...

They practically couldn't make it easier to con...

pivotallabs.com 02 May '12, 7am

If you ever spot room for improvement or an error in the Rails documentation -- and that includes the Rails Guides and the...

Ruby on Rails — Веб-разработка с удовольствием

rubyonrails.ru 06 May '12, 8am

«Ruby on Rails — это прорыв в снижении входного барьера в программировании. Мощные веб-приложения, которые раньше разрабат...

Ruby on Rails Guides: A Guide to Testing Rails ...

guides.rubyonrails.org 08 May '12, 9am

Testing support was woven into the Rails fabric from the beginning. It wasn’t an “oh! let’s bolt on support for running te...

Rails Dispatch | Presented by Engine Yard:

railsdispatch.com 02 May '12, 1pm

Next week, we’ll finish up generators by covering overriding default Rails generators like controller or scaffold. Next, w...