tag:blogger.com,1999:blog-752094859566372098.post5562262808761347968..comments2023-10-12T11:42:26.498+02:00Comments on St. on IT: RightJS + Rails = LoveNikolay V. Nemshilovhttp://www.blogger.com/profile/11826995023912878683noreply@blogger.comBlogger8125tag:blogger.com,1999:blog-752094859566372098.post-71391336162643826922010-06-30T18:21:54.986+03:002010-06-30T18:21:54.986+03:00@remco
A pretty common mistake, you need to call ...@remco<br /><br />A pretty common mistake, you need to call it like this<br /><br /><b>render rjs{ |page| page.boo = 'hoo'; }</b><br /><br />Because ruby understand your code like this<br /><br /><b>render(rjs){ |page| page.boo = 'hoo'; }</b><br /><br />The block is going into the wrong variableNikolay V. Nemshilovhttps://www.blogger.com/profile/11826995023912878683noreply@blogger.comtag:blogger.com,1999:blog-752094859566372098.post-61332388181858789492010-06-30T18:15:44.525+03:002010-06-30T18:15:44.525+03:00Looks very nice!
i tried to play with it but had n...Looks very nice!<br />i tried to play with it but had no success:<br /><br />in my controller I tried<br />format.js {<br /> render rjs do |page|<br /> page<<"('hi')";<br /> end<br /> <br /> }<br /><br />i got this error:<br /><br />You called render with invalid options : #<RightRails::ControllerExtensions::RenderWrapper:0x105cf6e98 @generator=#<RightRails::JavaScriptGenerator:0x105cf6718<br /><br />do you have a clue what goes wrong here?<br /><br />Regards,<br /><br />Remcoremcohttps://www.blogger.com/profile/15590394420049334529noreply@blogger.comtag:blogger.com,1999:blog-752094859566372098.post-54101828937672643972010-04-01T21:16:17.840+03:002010-04-01T21:16:17.840+03:00@ Serguei
Не за что. Будут вопросы обращайтесь@ Serguei<br /><br />Не за что. Будут вопросы обращайтесьNikolay V. Nemshilovhttps://www.blogger.com/profile/11826995023912878683noreply@blogger.comtag:blogger.com,1999:blog-752094859566372098.post-26368744794515208552010-04-01T20:44:27.903+03:002010-04-01T20:44:27.903+03:00Well done, Nikolay, really well done.
Discovered R...Well done, Nikolay, really well done.<br />Discovered RightJS only a couple of days ago, tried it and now I'm going to use it for my new rails project.<br />Thanks a lot!<br />Спасибо!!!Anonymoushttps://www.blogger.com/profile/15302711078085677085noreply@blogger.comtag:blogger.com,1999:blog-752094859566372098.post-54768727579984428392010-03-30T11:27:34.188+03:002010-03-30T11:27:34.188+03:00@ beYou media
RightJS has events delegation techn...@ beYou media<br /><br />RightJS has events delegation technique support and RightRails has a builtin Rails3 UJS module.<br /><br />The new RJS is just a tool, you can use it both obtrusively and unobtrusively, so yes. a serious developer could have a great deal of use from the new RJS generator.Nikolay V. Nemshilovhttps://www.blogger.com/profile/11826995023912878683noreply@blogger.comtag:blogger.com,1999:blog-752094859566372098.post-40716077125350269072010-03-30T10:21:16.374+03:002010-03-30T10:21:16.374+03:00I've been an early adopter of rightjs. And sti...I've been an early adopter of rightjs. And still using it, even if I dont use lots of right-rails things (Mainly because I do not understand the magic, or I did not read the documentation enought).<br /><br />Anyway, I Know you are working on UJS for rails 3, and i dont think there are benefits for using RJS.(even if i am not experienced JS developper.)Anonymoushttps://www.blogger.com/profile/10136197368394465836noreply@blogger.comtag:blogger.com,1999:blog-752094859566372098.post-74448833462500430362010-03-30T02:53:48.938+03:002010-03-30T02:53:48.938+03:00what about unobtrusive JS
would a serious develope...what about unobtrusive JS<br />would a serious developer use RJS? ;-)beYou mediahttps://www.blogger.com/profile/16648222707284307897noreply@blogger.comtag:blogger.com,1999:blog-752094859566372098.post-21603023647719244562010-03-29T21:14:01.690+03:002010-03-29T21:14:01.690+03:00I find it cool and eager to use it.
The most coole...I find it cool and eager to use it.<br />The most coolest is that file uploading api. Gotta try!!Millisamihttps://www.blogger.com/profile/16388349740135374926noreply@blogger.com