Ruby China
  • Topics
  • 招聘
  • Wiki
  • 酷站
  • Gems
  • Sign Up
  • Sign In
李路
@lilu
VIP
NO. 1208 / 2012-02-27

[email protected]
knewone.com
深圳
25 Topics / 139 Replies
21 Followers
0 Following
2 Favorites
Live in the future and build what seems interesting.
GitHub Public Repos
  • 20151104771_lilu 0

    GraduationProject

More on GitHub
  • Overview
  • Topics
  • Replies
  • Favorites
  • Following
  • Followers
  • 聊聊主流框架,Less/Sass/Compass/Bootstrap/H5bp at July 19, 2012

    #7 楼 @moonjourney phonegap 是让你用 web 技术(html,css 和 js)开发 mobile app 的集成框架,enyo 是个不太知名的 js 框架

  • SASS 和 Compass 指南 at July 19, 2012

    #4 楼 @siyang1982 赞,这个应该直接提给 compass,他们只支持跨浏览器 opacity,貌似没有跨浏览器 alpha 通道

  • [北京][2012年07月21日] Ruby 活动公告 at July 19, 2012

    #38 楼 @sundevilyang 题目"web 开发的前端 css 框架"吧,内容都在这两个帖子里,有个投影仪就可以了,我带个笔记本,半小时左右估计,主要认识一下大家^_^

  • [北京][2012年07月21日] Ruby 活动公告 at July 18, 2012

    [email protected] 报个名

    需要的话我可以做一下分享,这周在研究 sass/compass/bootstrap 相关,其实都发到社区里了,下面这两个帖子:

    http://ruby-china.org/topics/4370

    http://ruby-china.org/topics/4396

  • 聊聊主流框架,Less/Sass/Compass/Bootstrap/H5bp at July 17, 2012

    #3 楼 @Rei less 最早是 ruby 实现的,而且 less 和 sass 只是 css 预处理器,和写出的网页是否美观没什么关系~

  • 聊聊主流框架,Less/Sass/Compass/Bootstrap/H5bp at July 17, 2012

    #2 楼 @ericguo 特别去看了一下 bootstrap-rails 的代码,发现 bootstrap-rails 和 bootstrap-sass 在对 bootstrap 的翻译上实现几乎一致,只是一些名字上的不同,不过我只是过了一遍相对较复杂的 mixin.scss 的内部实现,可能其他模块有比较大的差异也说不定:)

    在实现差不多的情况下,bootstrap-sass 我认为还是稍好一点,因为可以很方便地支持 compass,无论有无 rails,都可以挂成 compass 的扩展,这点虽然不需要很多代码实现,但还是很有用的,毕竟用 sass 和 rails 的人基本都需要 compass 和 bootstrap 一起工作吧。

  • 请问有什么方法可以得出某个 model 中存在着哪些对指定属性的 validate? at March 21, 2012

    @iwinux 谢谢~我的问题,以后多尝试

  • 请问有什么方法可以得出某个 model 中存在着哪些对指定属性的 validate? at March 21, 2012

    @ery 谢谢,不过这个已经用了,他和 form_for 是绑定的,我的情景出于某种原因不能使用 form_for,而是用普通的 form_tag, 而且,他没有加上 required 这个属性

  • rbenv 每次需要 rehash,和 rvm 比,可用性也太差了吧。 at March 21, 2012

    安装新版本 ruby 和带有 shell 命令的 gem 时需要 rehash google 可以找到一些自动 rehash 的脚本

    引用一下一段对 rvm/rbenv divide 的经典结论

    I think, after installing both back-to-back on my own system, that their similarities outweigh their differences. One article I read about the subject compared RVM and rbenv to Rails and Sinatra . I think that comparison really fits. Sinatra is a lightweight framework whereas Rails is much more robust. Sometimes sinatra just fits, and other times you'd be a fool to not go with Rails. If you need the features in RVM then use it, if you want more control and a lighter feel then use rbenv. It's all a matter of preference.

    As a rubyist I'm just glad we have people like Wayne Seguin, and Sam Stephenson contributing to the community the way they do.

    同向两位作者致敬,尤其是 Wayne,每当看到 rvm 庞大繁复的特性时,我都佩服他付出的难以想象的努力

  • &:-@ 有些疑惑 at March 20, 2012

    @quakewang 感谢

  • 分享一下关于 Active Model scope 的小发现 at March 17, 2012

    补充修改了一下

  • rake assets:precompile 错误 at March 17, 2012

    楼上正解

    config.assets.precompile = ['one.js', 'other.js']

    需要预编译的 js 一般是不加入 application.js 的 manifest 中的库

  • 我们不应该排斥 Windows at March 17, 2012

    我想 Rails way 应该是不把精力主要放在 window 上

    convention over configuration, 开发者们使用 unix/linux 平台已经是一种惯例,如果显式的不支持 windows,可以强迫更多的开发者使用更好的操作系统。

    公司强迫要求在 windows 下进行 ruby 开发和部署?不知道这是什么样的公司,开发热塑膜 windows 桌面软件?那么用 ruby 干嘛呢。。

  • 在 controller 直接渲染页面输出 (不是 json) at March 17, 2012

    render ‘your/hamlorerb/view’ layout: false

  • coffescript、haml、scss 是不是跟 rails 高度集成的?可否用在别的框架? at March 17, 2012

    coffee 跟 rails 关系并没有直接关系,只是借鉴了 ruby 的一些语法而已 haml 跟 ruby 集成度较高,如果是其他语言的话只是用静态部分比较方便,动态的要调用 ruby 解释器 scss 完全可以使用,不过在非 ruby 环境一般社区比较喜欢 less

  • 这里有多少人用机械键盘? at February 27, 2012

    肯定是樱桃的,茶轴青轴红轴都适合打字

  • Prev
  • 1
  • 2
  • 3
  • 4
  • 5
关于 / RubyConf / Ruby 镜像 / RubyGems 镜像 / 活跃会员 / 组织 / API / 贡献者
由众多爱好者共同维护的 Ruby 中文社区,本站使用 Homeland 构建,并采用 Docker 部署。
服务器由 赞助 CDN 由 赞助
iOS 客户端 / Android 客户端 简体中文 / English