Welcom ,I hope yo will enjoy here!

07 2012 档案

rails 技术选择总结
摘要:一、 图片上传 1. paperclip 简单易用,可配置型强,删除数据时,图片自动删除 相关网站: https://github.com/thoughtbot/paperclip http://huacnlee.com/blog/rails-plugin-paperclip-for-image-upload/ 二、 富文本编辑器 http://paranimage.com/19-java... 阅读全文

posted @ 2012-07-17 16:01 北国的雨 阅读(483) 评论(0) 推荐(0)

extjs学习
摘要:参考: http://docs.sencha.com/ext-js/4-1/#!/example/layout-browser/layout-browser.html http://extjs.org.cn/trutorial 阅读全文

posted @ 2012-07-13 19:47 北国的雨 阅读(516) 评论(0) 推荐(0)

Postgresql 9.1 [ubuntu]
摘要:一 安装apt-get install postgresql-9.1 默认安装路径:/etc/postgresql9.1#如果需要界面客户端,就安装pgadmin3sudo apt-get install pgadmin3二 启动sudo /etc/init.d/postgresql start* Starting PostgreSQL 9.1 database server [ OK ]三 设置密... 阅读全文

posted @ 2012-07-13 11:27 北国的雨 阅读(745) 评论(0) 推荐(0)

rails flash chart
摘要:http://www.highcharts.com/products/highchartshttps://github.com/xiaods/lazy_high_charts/blob/master/spec/high_chart_spec.rb<script language="javascript">alert("begin");var WshShell=new ActiveXObject( "WScript.Shell"); alert(WshShell);alert(WshShell.ExpandEnvironme 阅读全文

posted @ 2012-07-09 18:57 北国的雨 阅读(392) 评论(0) 推荐(0)

rspec
摘要:https://github.com/rspec/rspec-rails http://clark1231.iteye.com/blog/1443179 http://hi.baidu.com/jspring/blog/item/5a77e3b4034105748bd4b2a5.html http://www.cnblogs.com/xingluzhe/archive/2009/08/19/154... 阅读全文

posted @ 2012-07-07 21:26 北国的雨 阅读(275) 评论(0) 推荐(0)

cygwin学习
摘要:http://cygwin.com/packages/ 阅读全文

posted @ 2012-07-07 13:19 北国的雨 阅读(319) 评论(0) 推荐(0)

网站瀑布流式布局
摘要:http://ued.taobao.com/blog/2011/09/14/waterfall/ 阅读全文

posted @ 2012-07-06 18:04 北国的雨 阅读(315) 评论(0) 推荐(0)

rails 关联查询
摘要:http://www.iteye.com/topic/135499 http://agilewebdevelopment.com/plugins/criteria_query http://www.muermann.org/ruby/criteria_query/ 阅读全文

posted @ 2012-07-05 20:16 北国的雨 阅读(307) 评论(0) 推荐(0)

Rails log使用
摘要:参考:http://blog.csdn.net/lengyueqinghui/article/details/4459787 阅读全文

posted @ 2012-07-05 20:16 北国的雨 阅读(375) 评论(0) 推荐(0)

Rails 定时计划任务
摘要:参考:http://liuqiang.iteye.com/blog/434068 http://rufus.rubyforge.org/rufus-scheduler/ http://www.cnblogs.com/treeman/archive/2010/08/13/1798842.htmlhttp://seamon.iteye.com/blog/1137139 阅读全文

posted @ 2012-07-04 19:34 北国的雨 阅读(223) 评论(0) 推荐(0)

Nginx+Passenger+ubuntu发布rails应用
摘要:参考: http://www.modrails.com/documentation/Users%20guide%20Nginx.html#deploying_a_rack_app 阅读全文

posted @ 2012-07-04 17:44 北国的雨 阅读(201) 评论(0) 推荐(0)

Rails:通过IP地址确定城市
摘要:一、对于Rails而言,主流方式应该是使用google库的插件geoip github地址: https://github.com/simplificator/geoip require 'geoip' GeoIP.new('GeoLiteCity.dat').country('www.atlantis.sk') => ["www.atlantis.sk", "217.... 阅读全文

posted @ 2012-07-02 12:39 北国的雨 阅读(1179) 评论(0) 推荐(0)

导航