Ruby China
  • 社区
  • 招聘
  • Wiki
  • 酷站
  • Gems
  • 注册
  • 登录
Jasl
@jasl
管理员
第 1107 位会员 / 2012-02-21

[email protected]
北京
126 篇帖子 / 3954 条回帖
396 关注者
11 正在关注
82 收藏
Ass♂we♂can
GitHub Public Repos
  • wx_pay 461

    An unofficial simple wechat pay gem

  • zk_dcap_verifier_poc 1

  • substrate 0

    Substrate: The platform for blockchain innovators

  • parity-common 0

    Collection of crates used in Parity projects

  • polkadot-sdk 0

    The Parity Polkadot Blockchain SDK

  • pjs-rs 0

    A javascript runtime with pjs embebed

  • agave 0

    Web-Scale Blockchain for fast, secure, scalable, decentralized apps and marketplaces.

  • ngine 0

    A nostr application framework

  • derive_more 0

    Some more derive(Trait) options

  • cybros-experimental 0

More on GitHub
  • 概况
  • 话题
  • 回帖
  • 收藏
  • 正在关注
  • 关注者
  • [济南][2013年5月5日] Ruby Sunday 活动召集 at 2013年04月26日

    #46 楼 @lgn21st 好的

  • 能不能覆盖 rake assets:precompile at 2013年04月26日

    #2 楼 @tiseheaini 在外边没办法测试,你注意下

    Rake::Task['db:create'].enhance do
      Rake::Task['db:after_create'].invoke
    end
    

    这个 所以说可以推断,tasks 会存储在 Rake::Task 集合里,invoke 方法可以通过代码调用 task

  • [济南][2013年5月5日] Ruby Sunday 活动召集 at 2013年04月26日

    #44 楼 @lgn21st ok 我也第二天走好了

  • [济南][2013年5月5日] Ruby Sunday 活动召集 at 2013年04月26日

    @lgn21st 聚会的大概位置有噻?外漂党可以提前订下住宿啥的噻

  • 新写的 ueditor rails integration at 2013年04月26日

    #55 楼 @felix http://ueditor.baidu.com/website/helper.html的 16 同样描述了 ueditor 需要返回的结构体

  • [济南][2013年5月5日] Ruby Sunday 活动召集 at 2013年04月26日

    #39 楼 @xmonkeycn 节后的火车票也紧张?我还没买

  • 新写的 ueditor rails integration at 2013年04月26日

    #55 楼 @felix ueditor 的上传使用了 swfupload 这个组件,所以说你上传逻辑返回的结构体遵循他的协议即可,你也可以参考的我的实现https://github.com/jasl/a_rails_start_up_omakase/blob/master/app/controllers/ueditor/assets_controller.rb 关注返回的结构体即可

  • 能不能覆盖 rake assets:precompile at 2013年04月26日

    没有做过类似的需求,帮你 google 了一下 http://stackoverflow.com/questions/6205968/how-do-i-override-rake-tasks-for-a-custom-database-adapter 这个需求似乎和你的场景类似,不知对你有没帮助

  • 炮哥的遗产 at 2013年04月26日

    #18 楼 @keating 我之前已经有人切走一波了啊

  • 炮哥的遗产 at 2013年04月26日

    #19 楼 @bhuztez hooopo 说你很♂可♂爱

  • 使用 Ruby 自动重启服务的脚本 at 2013年04月26日

    #3 楼 @lb563 你可能需要把环境和服务的情况描述的更具体一些

  • 新写的 ueditor rails integration at 2013年04月26日

    #53 楼 @felix 检查 log 有可能是上传失败,我在 startup omakase 里的参考实现是经测试完全可用的

  • 使用 Ruby 自动重启服务的脚本 at 2013年04月26日

    试试 daemon-spawn 这个 gem

  • 炮哥的遗产 at 2013年04月26日

    @ywencn 最近他在恶补王垠的文章 - -

  • 炮哥的遗产 at 2013年04月26日

    @lgn21st 嗯 最近他在潜水 - -

  • [北京][5 月 25 日] Rails Girls 北京 at 2013年04月25日

    #28 楼 @sundevilyang 没起来 就不去了 可以改这个是肯定的

  • 新写的 ueditor rails integration at 2013年04月25日

    #50 楼 @felix https://github.com/jasl/ueditor_rails/blob/master/app/assets/javascripts/ueditor_rails/dialogs/image.js.erb

  • [济南][2013年5月5日] Ruby Sunday 活动召集 at 2013年04月25日

    节后 看样子好买票

  • rails 的调试你们怎么做的。 at 2013年04月25日

    如果希望简单的输出对象 1.9.3+rails 3.2 的话你可以这么做 https://github.com/jasl/a_rails_start_up_omakase/blob/master/config/environments/development.rb#L47 然后你便可以在任何位置使用y var的方式将对象输出到控制台 不过一个问题是不能输出匿名对象

  • 新写的 ueditor rails integration at 2013年04月25日

    #47 楼 @felix 嗯 我就好解决问题 按道理 这个 gem 的设计思路和 ckeditor 很接近 - - 如果你能解决了 或者找到问题根源 回复我噻

  • 新写的 ueditor rails integration at 2013年04月25日

    @felix 所以也不是包管理机制的问题了...那还有哪里的问题呢。。。你要是在北京的话我就去现场 debug 了。。。

  • 新写的 ueditor rails integration at 2013年04月25日

    #41 楼 @felix 有可能 但我觉得不太像 或许是内网的问题,我不晓得内网是怎么安装 gem 和 bundle 的,如果有可能的话 最好还是到外网去试验一下。这种问题 不直接拿项目代码来 debug 我还真的没啥好的思路 或者 你可以采用gem 'ueditor_rails, :path => 'a/path/to/gem'的方式安装 gem 我在本地环境是这么测试的,所以是没有问题的,这样的话,你需要 git clone 我的 repo 然后拷到一个绝对路径之下 然后修改 path 的位置

  • [北京][5 月 25 日] Rails Girls 北京 at 2013年04月25日

    #25 楼 @sundevilyang 活动地点地图嘛 就是一个 js 而已 很简单,调整一下布局 这样方便找活动地点

  • 新写的 ueditor rails integration at 2013年04月25日

    #41 楼 @felix 难道是 rails 的问题么... @stephen 也在用这个 gem,没有任何问题

  • 新写的 ueditor rails integration at 2013年04月25日

    #38 楼 @felix 都是标准的 rails 工程 这文件我没有改动过的,你最好先建一个 hello world 项目 来单独排查是不是因为环境引起的问题 感觉这么说 没什么头绪...

  • 新写的 ueditor rails integration at 2013年04月25日

    #36 楼 @felix 这个 routes 是没有问题的 实际请求的时候需要加上 routes 里配置 mount 时候的 prefix 所以你用浏览器访问http://localhost:3000/ueditor/dialogs/image是可以的 你能建立一个 hello world 工程来测试 gem 的正确么?感觉你那里的项目环境有点复杂,没有什么头绪

  • 新写的 ueditor rails integration at 2013年04月25日

    #33 楼 @felix 文件和路由配置是不会重新生成的 除非你删掉和去掉对应的行

    Started GET "/ueditor/dialogs/image" for 127.0.0.1 at 2013-04-25 11:44:46 +0800
    Processing by UeditorRails::DialogsController#image as HTML
      Rendered /Users/jasl/.rvm/gems/ruby-1.9.3-p392/gems/ueditor_rails-0.0.4/app/views/ueditor_rails/dialogs/image.html.erb (38.2ms)
    

    这样就正确了...

  • 新写的 ueditor rails integration at 2013年04月25日

    #30 楼 @felix rake routes一下呢 看看路由是怎么配置的

  • 新写的 ueditor rails integration at 2013年04月25日

    @felix get 的 url 有问题,应该是/ueditor/dialogs/image 奇怪...我在一个新建的工程里按照你的操作回溯了一下 结果是正常的...

  • 反思” 题目太大了,hold 不住 “ at 2013年04月25日

    #8 楼 @zputee 啊。。

  • 上一页
  • 1
  • 2
  • …
  • 102
  • 103
  • 104
  • 105
  • 106
  • …
  • 120
  • 121
  • 下一页
关于 / RubyConf / Ruby 镜像 / RubyGems 镜像 / 活跃会员 / 组织 / API / 贡献者
由众多爱好者共同维护的 Ruby 中文社区,本站使用 Homeland 构建,并采用 Docker 部署。
服务器由 赞助 CDN 由 赞助
iOS 客户端 / Android 客户端 简体中文 / English