ruby1.9.3+rails3.2.3环境下: 启动服务后报如下错误: 报错原因:can't convert Fixnum into String,不能转换成字符串的Fixum类型 在database.yml配置文件中做修改: 例:password: 123456  改为:password: "123456" 重启服务,ok.
原创 2013-04-16 16:10:59
552阅读
rails3中assets中三个文件夹p_w_picpaths\ javascripts\stylesheets: 用来分别存放图片,js,CSS样式。   1、p_w_picpaths(图片): 存放页面上与样式中的图片 方法:页面上:/assets/图片名, 如果p_w_picpaths下有二级文件夹,例如/assets/admin/index.jpg /assets
转载 精选 2013-04-17 11:33:57
173阅读
windows下:ruby1.9.3+rails3.2.3环境搭建及连接mysql数据库配置
转载 精选 2013-04-12 17:05:02
785阅读
1点赞
1.redis下载安装cd /usr/local/src wget http://download.redis.io/releases/redis-3.2.3.tar.gz tar -zxvf redis-3.2.3.tar.gz cd redis-3.2.3 make make PREFIX=/usr/local/redis-3.2.3 install ln -s /usr/local/redi
转载 2023-07-21 22:04:11
99阅读
itee.com/liu21st/thinkphp32 thinkPHP 3.2.3 是从showdoc开源项目里面看到的,最新版的TP比较复杂,先看看这个老版本的。 ht
原创 2022-10-11 10:00:25
96阅读
      前段日子看完了一本《松本行弘的程序世界》,同时在网上检索了一下松本行弘本人,对这位业内前辈佩服得五体投地。既佩服其起对程序的狂热和以及对事业认真负责的态度,又佩服其淡泊名利、秉承开源的精神。      很自然的,我怀着崇敬的心情,开始了Ruby之旅。      首先,学的是Ruby语法本身,我被其
这是一个栈的入门题,我用了STL,很懒,不想用数组模拟栈,开了4个栈,也是醉了。 In:表示进来的队列 Out:表示出站的队列 To:模拟进站与出站 还有一个用来掉头(进来的时候) 我来举一个小例子 比如出站序列为 5 4 1 2 3 In 栈底 5 4 3 2 1 Out 3 2 1 4 5 首先
转载 2017-08-03 14:05:00
137阅读
2评论
B - Rails Time Limit:1000MS     Memory Limit:10000KB     64bit IO Format:%I64d
原创 2023-09-04 14:19:08
54阅读
原题及翻译There is a famous railway station in PopPush City.在波普什市有一个著名的火车站。Country there is incredibly hilly.那里的乡村山峦起伏。The station was built in last century.这个车站建于上世纪。Unfortunately, funds were extr...
原创 2021-08-10 10:16:55
739阅读
现在所使用的ROR(Ruby on Rails)中Ruby我们都是采用rvm来管理的,但是每次在安装配置环境的时候都需要去执行一条条指令
原创 2021-12-30 16:45:36
94阅读
(注:1~8是用mysql创建一个rails项目)                             &
转载 2023-06-29 14:57:31
50阅读
原题及翻译There is a famous...
转载 2019-02-12 00:01:00
59阅读
2评论
原题及翻译There is a famous...
转载 2019-02-12 00:01:00
75阅读
2评论
原题及翻译There is a famous...
转载 2019-02-12 00:01:00
79阅读
2评论
<%=select_tag('site_id',options_for_select(@sites.collect{|s| [s.name,s.id]}.insert(0,["所有",0])) )%> <%=select_tag('server_room_id',options_from_collection_for_select
原创 10月前
111阅读
原题及翻译There is a famous railway station in PopPush City. 在波普什市有一个著名的火车站。 Country there is incredibly hilly. 那里的乡村山峦起伏。 The station was built in last century. 这个车站建于上世纪。 Unfortunately, funds were extre
原创 2022-03-23 17:38:08
345阅读
Docker是一个相对较新且发展Swift的项目,它允许创建非常轻便的“虚拟机”。 先决条件 除了基本熟悉命令行和使用文本编辑器之外,本教程不需要其他特定技能。 需要以下服务: Docker Hub (登录-如果尚未注册,请注册) Rails应用程序 安装电脑 在计算机上进行所有工具设置可能是一项艰巨的任务,但值得庆幸的是,随着Docker变得稳定,在您喜欢的OS上启动并运行Docker
ruby on rails (Why Use Ruby on Rails for Web Development: Choosing the Right Technology)Ruby and Rails is a popular web development framework created by David Hansson in 2004 to improve developer pro
转载 7月前
49阅读
3.2.3开发文档https://pan.baidu.com/disk/home?errno=0&errmsg=Auth%20Login%20Sucess&&bduss=&ssnerror=0#list/vmode=list&path=%2Fsoftware%2Fphp%2Fphp_framewor
原创 2022-06-03 00:54:55
332阅读
# Redis 3.2.3 for Windows Redis is an open-source, in-memory data structure store that can be used as a database, cache, and message broker. It is known for its high performance, flexibility, and sim
原创 2023-08-27 06:22:16
21阅读
  • 1
  • 2
  • 3
  • 4
  • 5