浙江省高等学校教师教育理论培训

微信搜索“毛凌志岗前心得”小程序

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2010年11月7日

摘要: Ruby迭代器each、map、collect、inject2010-02-20 15:01说明: each——连续访问集合的所有元素 collect—-从集合中获得各个元素传递给block,block返回的结果生成新的集合。 map——-同collect。 inject——遍历集合中的各个元素,将各个元素累积成... 阅读全文
posted @ 2010-11-07 17:54 lexus 阅读(272) 评论(0) 推荐(0)

摘要: http://api.jquery.com/closest/ 阅读全文
posted @ 2010-11-07 14:13 lexus 阅读(428) 评论(0) 推荐(0)

摘要: Will PaginatePagination is just limiting the number of records displayed. Why should you let it get in your way while developing, then? This plugin makes magic happen. Did you ever want to be able to ... 阅读全文
posted @ 2010-11-07 11:11 lexus 阅读(397) 评论(0) 推荐(0)

摘要: Rails3中使用JQuery首先建立一个新项目,实际上有没有-J都无所谓1railsnewhelloworld -J然后,在项目的Gemfile中添加,1gem'jquery-rails'运行1bundle install再运行1rails generate jquery:install这时Prototype和相应JS就会被删除,而替换成JQuery的JS。如果你要使用JQuery UI的话在上... 阅读全文
posted @ 2010-11-07 09:44 lexus 阅读(410) 评论(0) 推荐(0)

摘要: http://agilewebdevelopment.com/ 阅读全文
posted @ 2010-11-07 08:43 lexus 阅读(138) 评论(0) 推荐(0)

摘要: http://ilstar.blogbus.com/logs/73933681.htmlhttp://hlee.javaeye.com/blog/341123Creating a 100% ajax CRUD using rails 3 and unobtrusive javascripthttp://stjhimy.com/posts/7http://dev.nozav.org/rails_aj... 阅读全文
posted @ 2010-11-07 00:15 lexus 阅读(203) 评论(0) 推荐(0)