E-COM-NET
首页
在线工具
Layui镜像站
SUI文档
联系我们
推荐频道
Java
PHP
C++
C
C#
Python
Ruby
go语言
Scala
Servlet
Vue
MySQL
NoSQL
Redis
CSS
Oracle
SQL Server
DB2
HBase
Http
HTML5
Spring
Ajax
Jquery
JavaScript
Json
XML
NodeJs
mybatis
Hibernate
算法
设计模式
shell
数据结构
大数据
JS
消息中间件
正则表达式
Tomcat
SQL
Nginx
Shiro
Maven
Linux
rails3
Rails 3 Quicktip: Autoload lib directory including all subdirectories, avoid lazy loading
Rails3
Quicktip:Autoloadlibdirectoryincludingallsubdirectories,avoidlazyloadingPostedonSeptember22,2010
Rails3
doesn
·
2010-12-04 10:00
Directory
Rails3
教程系列之八:
Rails3
入门(7)
接
Rails3
入门(6) 1. 构建多模型表单 现在的博客一般都有便签功能, 方便读者通过关键字索引文章. 要实现该特性你的应用需要在一个表单中交互多个模型.
solaz3
·
2010-12-04 01:00
F#
Rails
ActiveRecord
Rails3
教程系列之七:
Rails3
入门(6)
接
Rails3
入门(5) 1.
solaz3
·
2010-12-04 00:00
html
F#
REST
ActiveRecord
Rails
Rails3
教程系列之六:从Rails2到
Rails3
出处: oreilly 趁着上班前写一段 @@ 那么从前面的教程中我们学习了如何创建一个简单的博客应用, 我个人觉得无论你是新手还是从rails2过来,
rails3
solaz3
·
2010-12-03 14:00
xml
Rails
rubygems
ActiveRecord
rack
Rails3
利用whenever gem调度发送邮件
1. Install $ gem install whenever Or with Bundler in your Gemfile. gem 'whenever', :require => false 2. Getting Started $ cd /my/rails/app $ wheneverize . This will create an
myrev
·
2010-12-01 10:00
C++
c
capistrano
C#
Rails
Rails3
利用whenever gem调度发送邮件
阅读更多1.Install$geminstallwheneverOrwithBundlerinyourGemfile.gem'whenever',:require=>false2.GettingStarted$cd/my/rails/app$wheneverize.Thiswillcreateaninitial"config/schedule.rb"fileyou.config/schedule.
myrev
·
2010-12-01 10:00
Rails
capistrano
C
C++
C#
Rails3
利用whenever gem调度发送邮件
阅读更多1.Install$geminstallwheneverOrwithBundlerinyourGemfile.gem'whenever',:require=>false2.GettingStarted$cd/my/rails/app$wheneverize.Thiswillcreateaninitial"config/schedule.rb"fileyou.config/schedule.
myrev
·
2010-12-01 10:00
Rails
capistrano
C
C++
C#
rails3
scope dead???
看到一篇关于rails中是否还继续推荐使用scope的文章 Named Scopes Are Dead http://www.railway.at/2010/03/09/named-scopes-are-dead/ 另一个讨论 Named Scopes Are Dead http://www.rubyflow.com/items/3566
vivei
·
2010-11-29 18:00
Ruby
Rails
linode 设置
ABOUTMENEWTO
RAILS3
NEWBIEONRAILSRSSARCHIVERails&PHPLinuxVPS速配指南12/31/2009VPS主机类型:Linode360可到linode.com
mlzboy
·
2010-11-28 21:00
nginx
PHP
git
ssh
Ruby
linode 设置
ABOUTMENEWTO
RAILS3
NEWBIEONRAILSRSSARCHIVERails&PHPLinuxVPS速配指南12/31/2009VPS主机类型:Linode360可到linode.com
·
2010-11-28 21:00
node
Rails3
教程系列之五:
Rails3
入门(5)
文章出处:http://edgeguides.rubyonrails.org/getting_started.html 1. 添加第二个模型 在前面的教程中,我们已经学会的使用脚手架快速搭建一个简单的应用,毕竟脚手架不能做任何事情,现在我们需要在应用中添加第二个模型了。 模型在rails中使用单数形式,而其相关的数据库将使用复数名称。 那么对
solaz3
·
2010-11-28 15:00
html
F#
UP
Rails
ActiveRecord
Rails3
教程系列之四:
Rails3
入门(4)
文章出处:http://edgeguides.rubyonrails.org/getting_started.html 1. 显示一条Post 当你在index页面点击一条文章的链接时,它将指向一条类似 http://localhost:3000/posts/1 的地址。Rails是把它作为show动作资源来解释的,然后传递 1 作为 :id 的参数。下面是 show 动作:
solaz3
·
2010-11-28 14:00
html
浏览器
Rails
Rails3
教程系列之三:
Rails3
入门(3)
文章出处:http://edgeguides.rubyonrails.org/getting_started.html 1. 列出所有Posts 要开始查看功能的最简单的地方应该是列举所有记录的代码了。现在我们打开 app/controllers/post_controller.rb, 看到 index 方法 def index @posts = P
solaz3
·
2010-11-27 00:00
html
浏览器
F#
Flash
Rails
activerecord查询语法for
rails3
RssFeedGuides.rubyonrails.org资讯导航 敏捷开发最佳实践 问题交流 书籍资料 职位招聘 线下活动RubyonRails敏捷开发最佳实践分享分享你的敏捷开发最佳实践,为rails社区的枝繁叶茂做出自己的贡献.按tags浏览
rails3
linuxgrailspassengeractionmailercapistrano
·
2010-11-23 15:00
ActiveRecord
activerecord查询语法for
rails3
RssFeedGuides.rubyonrails.org资讯导航 敏捷开发最佳实践 问题交流 书籍资料 职位招聘 线下活动RubyonRails敏捷开发最佳实践分享分享你的敏捷开发最佳实践,为rails社区的枝繁叶茂做出自己的贡献.按tags浏览
rails3
linuxgrailspassengeractionmailercapistrano
·
2010-11-23 15:00
ActiveRecord
activerecord查询语法for
rails3
RssFeedGuides.rubyonrails.org资讯导航 敏捷开发最佳实践 问题交流 书籍资料 职位招聘 线下活动RubyonRails敏捷开发最佳实践分享分享你的敏捷开发最佳实践,为rails社区的枝繁叶茂做出自己的贡献.按tags浏览
rails3
linuxgrailspassengeractionmailercapistrano
·
2010-11-23 15:00
ActiveRecord
发现星期六日的电视比较好看
电视的节目还是有质量和高端一些回家半年了,身体好多了,也不动不动就感冒了,还是家里养人啊,肚子见长,都已经不是常人身材了,有明显发福的迹象downthemall这个插件不错,批量下载图片,这个月学习使用
rails3
·
2010-11-22 18:00
比较
发现星期六日的电视比较好看
电视的节目还是有质量和高端一些回家半年了,身体好多了,也不动不动就感冒了,还是家里养人啊,肚子见长,都已经不是常人身材了,有明显发福的迹象downthemall这个插件不错,批量下载图片,这个月学习使用
rails3
·
2010-11-22 18:00
比较
Rails3
教程系列之二:
Rails3
入门(2)
文章出处: http://edgeguides.rubyonrails.org/getting_started.html 1.HelloRails接下来我们要输出一个所有语言的都要学习的helloworld。要在rails应用中输出一个hellorails,你需要创建一个控制器以及一个视图。在rails的世界里,你几乎不用手动的一个个去创建各个控制器与视图,rails命令就可以帮忙我们搞定一切。
solaz3
·
2010-11-22 13:00
应用服务器
单元测试
Ruby
ActiveRecord
Rails
Rails3
教程系列之一:
Rails3
入门
1.环境搭建 Ruby1.8.7+(那么由于187p248,249的bug可能会导致
Rails3
崩溃,官方建议使用1.9
solaz3
·
2010-11-22 11:00
mysql
应用服务器
Ruby
Rails
rack
Unobtrusive Javascript in rails 3
Rails3
中Unobtrusive Javascript的核心是rails.js文件。
Enn
·
2010-11-19 16:00
JavaScript
jquery
prototype
Blog
Rails
will_paginate 与
rails3
集成时,分页 界面显示不出来
rails 3新增XXS机制,导致html标签在output的时候要进行校验,使用will_paginate的时候会有一些问题,显示不出分页界面,如: <span class="disabled"><<上一页</span> <span class="current">1</span>
qwlong
·
2010-11-18 19:00
html
Ruby
Rails
rails3
使用declarative_authorization注意事项
阅读更多
Rails3
中把declarative_authorization作为plugin使用的时候,会在启动服务器的时候会遇到以下错误:"declarative_authorization"isaRailtie
hot88zh
·
2010-11-17 17:00
Rails
Google
rails3
使用declarative_authorization注意事项
Rails3
中把declarative_authorization作为plugin使用的时候,会在启动服务器的时候会遇到以下错误: "declarative_authorization&
hot88zh
·
2010-11-17 17:00
Google
Rails
simple_captcha
github.com/kares/simple_captcharailsplugininstallgit://github.com/kares/simple_captcha.git--这个版本已经支持
rails3
qingshou117
·
2010-11-17 02:00
css
git
Ruby
Rails
ActiveRecord
rails
010-02-26
Rails3
中的ActiveRecord的查询变化文章分类:Ruby编程202:ActiveRecordQueriesin
Rails3
译者:夜鸣猪(http://hlee.rubyeye.com
·
2010-11-14 18:00
Rails
rails scope for rail3
Rails3
ambiguouscolumnnamesandmultipleorderscopesnocommentsyet,postonenowAfterupdatingafewappsto
Rails3
Icameacrosssomeissueswiththenewscopingsyntax.AmbiguousColumnNamesInonecaseIuseamoduletodefinesomec
·
2010-11-14 17:00
Rails
named scope on rail3
Rails3
ambiguouscolumnnamesandmultipleorderscopesnocommentsyet,postonenowAfterupdatingafewappsto
Rails3
Icameacrosssomeissueswiththenewscopingsyntax.AmbiguousColumnNamesInonecaseIuseamoduletodefinesomeco
·
2010-11-14 17:00
scope
rails上的建议用法 ,这个很重要,我还在用老方法 ,
2010-02-16ActiveRecordQueryInterface(in
Rails3
)文章分类:Ruby编程http://guides.rails.info/active_record_querying.html
·
2010-11-11 19:00
Rails
rails上的建议用法 ,这个很重要,我还在用老方法 ,
2010-02-16ActiveRecordQueryInterface(in
Rails3
)文章分类:Ruby编程http://guides.rails.info/active_record_querying.html
·
2010-11-11 19:00
Rails
rails3
好文
http://asciicasts.com/episodes/202-active-record-queries-in-rails-3 Home Otherlanguages Newestepisode Allepisodes AboutASCIIcastsSearch: Tagsperformancecachingactive-recordactive-supportviewssecuri
·
2010-11-11 18:00
rails3
Rails3
no route match.
由于
rails3
不再死绑prototype 一些之前默认会加载好的东西就需要自己来了 多次碰到no routes match问题都是因为rails.js没有加载 …… 今天加了一个新的js进来 顺便动了下
Enn
·
2010-11-11 17:00
jquery
prototype
Rails
wget
jean本文连接http://www.zhangyiqun.net/1386.html实例:wget-nd-r-l1–no-parenthttp://media.pragprog.com/titles/
rails3
·
2010-11-10 01:00
wget
rails3
bundle introduce
http://blackanger.blog.51cto.com/140924/355320--转载请注明出处
Rails3
里多了个Bundler工具。
·
2010-11-09 21:00
Bundle
jqgrid for
rails3
plugin
最近做项目用到jquery ui和jqgrid,在网上找到了2dcJqgrid Rails plugin,不过只能在rails2下用,有个
rails3
的,也有很多问题
doabit
·
2010-11-09 14:00
java
jquery
UI
git
Rails
rails3
使用restful-authentication
阅读更多首先要下载支持
Rails3
的restful-authentication,地址:https://github.com/Satish/restful-authentication按照正常的安装顺序安装之后
hot88zh
·
2010-11-09 14:00
rails3
使用restful-authentication
首先要下载支持
Rails3
的restful-authentication,地址:https://github.com/Satish/restful-authentication 按照正常的安装顺序安装之后
hot88zh
·
2010-11-09 14:00
Authentication
rails3
expericence
whenyoumodifieddbschemayouneedrestartrailcconsoleenviroment,forsomeeffecit railsgmodelCommentShowsProduct--migration=false
·
2010-11-08 11:00
rails3
rails3
测试相关
rake db:create:all --建立test,development,product三个数据库 rake db:test:prepare --将development数据库表建到test数据库,这一步必须执行,不然执行rake test 会报表不存在错误。 ActiveRecord::StatementInvalid: Mysql::Error: Table 'depot_test.
qingshou117
·
2010-11-07 16:00
mysql
单元测试
ActiveRecord
rails3
install jquery
Rails3
中使用JQuery首先建立一个新项目,实际上有没有-J都无所谓1rails new helloworld-J然后,在项目的Gemfile中添加, 1gem 'jquery-rails'运行
·
2010-11-07 09:00
Install
Ajax callback in
Rails3
/ilstar.blogbus.com/logs/73933681.htmlhttp://hlee.javaeye.com/blog/341123 Creatinga100%ajaxCRUDusing
rails3
andunobtrusivejavascripthttp
·
2010-11-07 00:00
callback
rails tips
www.riverwatcher.com/web.html国内公司做国外的事http://net.tutsplus.com/tutorials/ruby/5-awesome-new-rails-3-features/5AwesomeNew
Rails3
Features
·
2010-11-06 23:00
Rails
ubuntu10.10 ruby1.9.2
rails3
.0 mysql 架设过程
ubuntu10.10 ruby1.9.2
rails3
.0 mysql 架设过程 文章分类:Ruby编程 sudo apt-get install build-essential sudo
qingshou117
·
2010-11-06 19:00
mysql
nginx
ext
Ruby
Rails
rails3
routes
http://gregmoreno.ca/rails-3-upgrade-part-2-routes/http://www.engineyard.com/blog/2010/the-lowdown-on-routes-in-rails-3/
·
2010-11-04 21:00
rails3
Rails3
集成测试插件Rails-Carrot(二)
本篇简要介绍使用JRuby + RSpec + Rails-Carrot + Celerity 进行
rails3
项目的集成测试。 1.
myrev
·
2010-11-03 11:00
mysql
Ruby
Rails
jruby
rspec
Rails3
集成测试插件Rails-Carrot(二)
阅读更多本篇简要介绍使用JRuby+RSpec+Rails-Carrot+Celerity进行
rails3
项目的集成测试。
myrev
·
2010-11-03 11:00
Rails
rspec
jruby
MySQL
Ruby
Rails3
集成测试插件Rails-Carrot(一)
阅读更多Rails-Carrot部分参考Capybara,支持原生的测试Gem驱动,主要是供喜欢用Celerity或者原生浏览器测试Driver。支持远程,本地,本地外部ruby运行服务器进行集成测试。插件地址:http://github.com/sloanwu/carrot简要介绍,以集成Celerity(需要使用JRuby)为例Youcanusecarrotwithcelerity,orano
myrev
·
2010-11-03 11:00
Rails
rspec
Ruby
jruby
Google
Rails3
集成测试插件Rails-Carrot(一)
Rails-Carrot部分参考Capybara,支持原生的测试Gem驱动,主要是供喜欢用Celerity或者原生浏览器测试Driver。 支持远程,本地,本地外部ruby运行服务器 进行集成测试。 插件地址: http://github.com/sloanwu/carrot 简要介绍,以集成Celerity(需要使用JRuby)为例
myrev
·
2010-11-03 11:00
Google
Ruby
Rails
jruby
rspec
Rails3
tree 输出
相关工具用的是 jstree 和 ancestry 就是个helper 遍历tree输出的方法 关键在于raw方法
rails3
里content_tag貌似内置了自动转义 需要加上这个方法才可以正确输出
Enn
·
2010-11-02 13:00
html
Ruby
Rails3
中使用JQuery
首先建立一个新项目,实际上有没有-J都无所谓railsnewhelloworld-J 然后,在项目的Gemfile中添加, gem'jquery-rails' 运行 bundleinstall 再运行railsgeneratejquery:install 这时Prototype和相应JS就会被删除,而替换成JQuery的JS。如果你要使用JQueryUI的话在上面命令后面加个--ui就可
·
2010-11-02 11:00
jquery
上一页
16
17
18
19
20
21
22
23
下一页
按字母分类:
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
其他