歪酷博客 Ycool Blog - 记录我们的时代
记录我们的时代

设为首页
加入收藏夹
需要帮助?

Tag: rails / 热门Tag



The best background processing lib for Rails
In many case you need to deal with something in the background. In background means you do the thing
Jan @ 2008-08-25 15:27:28
Use Merb to handle file upload for Rails
As you know Rails does bad on handling file upload, a large file will block your Rails app a long wh
Jan @ 2008-08-19 15:27:45
Backgroundrb vs BJ
From ruby forum. Backgroundrb and Bj serve different purposes. The new backgroundrb isa complete rew
Jan @ 2008-07-22 15:21:04
A better way of doing daily task in Rails
Instead of write your code in lib/xxx.rb and add sth. like script/runner into crontab: 15 2 * * * /u
Jan @ 2008-05-23 14:49:45
Polymorphic Association
The polymorphic association, on the other hand, while it bears some resemblance to the regular polym
Jan @ 2008-05-13 16:12:00
Agile Web Development with Rails, Third Edition
by Sam Ruby, Dave Thomas, David Heinemeier Hansson, et al Updated for Rails 2 http://www.pragprog.co
Tag: rails agile
Jan @ 2008-04-24 09:32:10
原来Rails 2.0可以很方便的部署项目依赖的gem
http://ryandaigle.com/articles/2008/4/1/what-s-new-in-edge-rails-gem-dependencies 超级帅,现在才知道,土了。
Jan @ 2008-04-21 13:27:20
[Announce] ActsAsOptions
ActsAsOptions ============= This plugin make model acts like select options Installation -----------
Jan @ 2008-04-17 15:43:11
save and save!
Maybe you already know the diff between save and save!. Save doesn't throw exceptions but its bang!
Jan @ 2008-03-29 21:41:01
gotcha in rails paginating_find plugin
When you installed this plugin, you can: ps = Product.find :all, :page = {:size = 10, :current = 2}
Jan @ 2008-03-20 13:24:34
Cells bring clean re-use to your Rails views
http://mikepence.wordpress.com/2008/03/16/cells-bring-clean-re-use-to-your-rails-views/
Jan @ 2008-03-17 22:35:00
Making your vim like textmate
textmate is great, but vim is greater. Vim can acts_as_textmate, but textmate can't acts_as_vim. To
Tag: vim rails
Jan @ 2008-03-13 22:07:22
无法相信世界上会有人在用attachment_fu的时候还要创造一个叫做with_image的model出来
真的很无语。。。直接导致了我几乎一天的无意义的debug。。。弄的我连用e文zhuangblity的力气都没有了 也好,直接导致attachment_fu被我看了个通透,架构一流,module玩的出神
Jan @ 2008-03-06 00:46:08
Heroku release API and External Git Access
Super cool. Only need to install their gem, then you can: heroku clone myappcd myappruby script/serv
Jan @ 2008-03-05 11:16:56
Make sure to rebuild index before testing when using ferret
After beaten the bug in my acts_as_ferret model testcase, I think it's valuable to remind you: remem
Jan @ 2008-03-04 13:23:02
Load fixtures into db by hand
Sometimes you have some fixutres want to load them into some db by hand, maybe as useful data. You can do this by rails console: $ script/console table = YAML.load_file( #{table_name}.yml ) ActiveRecord::Base.transaction do table.each do |fixture_nam
Jan @ 2008-02-25 23:02:30
Couldn't agree more ...
今天捧起了 The Rails Way ,越看越惊奇,Obie同志的经历和想法和我他妈的太一致了。。。我真怀疑他曾经在某公司干过。。。谈到企业级应用的时候: There are significant underlying reasons for the difficulties of software development, especially in enterprise environments: • Hard-to-understand legacy systems. &bu
Tag: ruby rails
Jan @ 2008-01-31 01:17:47
Plugins - Acts As Enterprisey
太仰慕了... How does acts_as_enterprisey make webapp development look hard? Well, the only way your client can judge your app is by playing around with it. What better gives the feeling of heavy weights being lifted behind the scenes than slow response t
Jan @ 2008-01-26 21:50:43
将Rails部署到linux+lighttpd+fastcgi碰到的问题小记
1. 如果开发平台在windows上,部署的时候记得给dispatch.fcgi加执行权限,chmod +x,还要手动修改它的第一行#!c:\ruby\bin\ruby,改成ruby在linux上的路径,通过which ruby可以看到。 2. 记得装rack
Jan @ 2008-01-23 17:04:45
世界上最大的基于Rails的网站是如何构建的
如果我把37Signals称作世界上最大的基于Rails的网站,应该没有问题吧 :) 原谅我做一回标题党. ROR总是让人觉得性能低下,毕竟它是一个动态语言成就的框架,可以理解. 但还是让事实来说话吧. 数据来源: Ask 37signals: Numbers? Ask 37signals: How do you process credit cards? 平台: Ruby on Rails Memcached Xen MySQL S3 for image storage 数据: 从单处理器的文
Jan @ 2007-12-30 00:24:23
在Rails启动的时候自动下载Google Maps Library
如果你用Google Maps做mashup, 不可避免的需要在网页中include google maps的javascript文件. 如果每个request都要通过访问google的服务器取得那个小小的js文件,未免太让人郁闷,尤其对于开发人员来讲. 很自然的,我们想要保存一个本地拷贝,但是依靠人肉下载的手段一来麻烦,二则容易忘记更新本地拷贝,万一google更新了api,你就挂了. 于是我让rails在启动的时候自动下载一份最新版本放到制定目录,这样每次重启rails server后你用的
Jan @ 2007-12-26 02:28:44
Rails Test Coverage
Rails是一个很强调测试的框架,就不用阐述了,写测试最需要的就是评估测试覆盖率的工具了,Ruby/Rails怎么可能没有?rcov加rails_rcov插件就是完美的解决方案,比用ant+junit+emma舒服多了,泪奔。。。 很痛苦的是,rails的贡献者基本上用的都是linux,于是乎基本上无视所编写程序在windows平台上的稳定性。。。rails_cov的作者直接告诉我们说,他没有windows的机器,windows上碰到的问题他没有办法解决,你可以解决了把patch发给他云云,我晕
Jan @ 2007-12-21 20:20:52
Ruby/Rails: too good to be true? Options
Rails新闻组里面的一个thread,楼主是个喜欢抛开框架用PHP的小公司老板,由于对Ruby/Rails产生了兴趣来请人比较PHP和Ruby(某种程度上),对PHP和Ruby的区别的切入点很有意思:他说用PHP做网站的不喜欢用框架,用Ruby做网站的几乎都用框架,为什么? 其实原因还是蛮简单的,呵呵,不过仍然值得一看。
Tag: ruby php rails
Jan @ 2007-12-20 23:33:53
JS template in Rails 2.0
Rails 2.0的一个新feature是把文件类型和渲染引擎分开,比如以前写作index.rhtml的view,现在可以写成index.html.erb 这个特性带来了一个1.2中没有的用法,你可以用erb来写js! 1. 我在index.html.erb里面写一个AJAX call,link_to_remote xxx , :url = {:action = :ajaxaction} 2. 跑到controller里面,在ajaxaction中加入respond_to do |format|
Jan @ 2007-12-18 17:19:40
用gem升级到Rails 2.0之前
先gem update --system再gem update rails 搞死人了
Jan @ 2007-12-17 15:13:17

41篇网志 3个Blog 使用了Tag "rails"

第 1 / 2 页 | 上一页 | 下一页

看看别的Tag 什么是Tag?



免费注册 - 已注册用户登入管理 - 热门关键词(Tags) - 常见问题帮助 - 设为首页 - 加入收藏夹
© 2004-2008 歪酷博客 - 记录我们的时代, All rights reserved. 歪酷网服务协议 沪ICP备05001191号 联系我们