码迷,mamicode.com
首页 >  
搜索关键字:ruby rails    ( 4811个结果
如果你不知道这11款常见的Web应用程序框架 就说明你out了
本文推荐了11款常见的Web应用程序框架,并列出了相关的学习资料和下载文档。如果对这些项目还不熟悉,就赶紧学起来吧~ Rails Rails是Ruby on Rails的简称,是一款开源的Web应用框架,采用Ruby语言,其设计原则是“不做重复的事”和“惯例优于设置”,是一款更符合实际需要而且更加....
分类:Web程序   时间:2014-09-24 19:50:27    阅读次数:206
Windows下使用LESS和SASS的集成环境
一:分步安装SASS环境安装SASS和compass的方法:1.安装Ruby,Windows下使用rubyinstaller-2.0.0-p353-x64.exe2.使用Ruby安装sass, gem install sass, 如果命令行不好用,就手动安装: gem install --lo...
分类:Windows程序   时间:2014-09-24 14:03:06    阅读次数:353
[Ruby on Rails系列]2、开发环境准备:Ruby on Rails开发环境配置
本文为Ruby on Rails的系列2,详细介绍了Ruby on Rails在Linux下的环境配置,以及集成开发环境Aptana的安装
分类:其他好文   时间:2014-09-24 02:01:55    阅读次数:450
升级10.10 Yosemite 后,cocoapods 出现错误(解决方案)
RSMacBook-Pro:~ RS$ pod search jsonkit/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55...
分类:其他好文   时间:2014-09-23 21:53:35    阅读次数:3917
ruby类名之间<,<=方法
有时候看源码的时候看到类名之间存在,:<,:<=]e.gmod < other → true, false, or nilReturns true ifmodis a subclass ofother. Returnsnilif there’s no relationship between the...
分类:其他好文   时间:2014-09-23 18:57:45    阅读次数:235
UVA 514 Rails
UVa514 Rails(铁轨) 题目描述: 某城市有一个火车站,有n节车厢从A方向驶入车站,按进站的顺序编号为1-n.你的任务是判断是否能让它们按照某种特定的顺序进入B方向的铁轨并驶入车站。例如,出栈顺序(5 4 1 2 3)是不可能的,但是(5 4 3 2 1)是可能的。 题目分析: 为了重组车厢,借助中转站,对于每个车厢,一旦从A移入C就不能回到A了,一旦从C移入B,就不能回到C...
分类:其他好文   时间:2014-09-23 17:46:25    阅读次数:225
ruby 格式化字符串 浮点数
在ruby中使用format(或 "%") 来格式化string. 例子1: 接收1个参数 "Number is %d" % 12 # Number is 12 format("Number is %d" , 12) # Number is 12 "Number is %d, type is %s" % [12, "cat"] # Number is...
分类:其他好文   时间:2014-09-23 15:40:04    阅读次数:171
Faye,Simple pub/sub messaging for the web
参考资料 http://faye.jcoglan.com/        Faye is a publish-subscribe messaging system based on the Bayeux protocol/CometD. It provides message servers for Node.js and Ruby, and clients for use on...
分类:Web程序   时间:2014-09-23 12:12:24    阅读次数:192
【转】ruby中nil?, empty? and blank?的选择
In Ruby, you check withnil?if an object is nil:article = nilarticle.nil? # => trueempty?checks if an element - like a string or an array f.e. - is em....
分类:其他好文   时间:2014-09-23 10:49:04    阅读次数:175
SASS学习笔记1 —— 安装、编译和调试
一、什么是SASSSASS是一种"CSS预处理器"(css preprocessor)的开发工具,为CSS加入编程元素,提供了许多便利的写法,大大节省了设计者的时间,使得CSS的开发,变得简单和可维护。二、安装和使用2.1 安装SASS是Ruby语言写的,但是两者的语法没有关系。不懂Ruby,照样使...
分类:其他好文   时间:2014-09-23 01:54:03    阅读次数:295
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!