Go To English Version 超过100万源码资源,1000万源码文件免费下载
  • acts-as-taggable-on ... ("created_at DESC") end User.tagged_with("awesome").by_join_date User.tagged_with("awesome").by_join_date.paginate(:page => params[:page], :per_page => 20) # Find ... 5. Versions >= 7.x are compatible with Ruby 2.3.7+ and Rails 5 and 6. Versions >= 8.x ...
  • fleximage ... image handling easy. === 1. Image Uploads In this post Rails 2, resource-driven world, Fleximage believes that images should belong directly ... image, a medium image for its focus page, and a large image for an "enlarge this photo" popup. Fleximage uses a ...
  • validator ... id to know which form to validate (you can have multiple forms on a page, and multiple Validators checking them). At some ... Validator know which field to validate 2. Tell it how to determine the field's validity 3. (optional) What to tell the ...
  • tandem ... :position => 2, :global_nav => 1) Page.create(:title => 'Contact', :template => 'pages/contact', :parent_page_id => 1, :position => 3, :global_nav ...
  • can_search ... paginate: Topic.search :forum => 1, :page => params[:page] You can also access the named_scope directly for custom # ... you can combine scopes: Topic.search :forum => 1, :forums => [2, 3], :created => (time1..time2) def can_search(&block) self. ...
  • formtastic ... |category, i| %> ... <%= f.actions %> <% end %> ``` If you have more than one form on the same page, it may lead ... .ATTRIBUTE` - by model and action 2. `formtastic.{titles,labels,hints,actions}.MODEL.ATTRIBUTE` - by model 3. `formtastic.{titles, ...
  • acunote-shortcuts ... cellpadding="0" cellspacing="0" width="100%"> Cursor Movement Notes ... >g then a open "activity" page ...
  • radiant-event-calendar ... fn-group.com/radiant_extensions/event_calendar 2. Install the VPIM iCal/vCal parsing gem: gem install vpim 3. Migrate extensions: rake ... Page are overridden to capture the calendar "category" and "slug". So, if you create a page under Home > Calendar and ...
  • rssanything ... you generate an rss feed for any page == Welcome to Rails Rails is a web-application and persistence framework that includes everything needed ... a complete tgz or zip, this step is already done) 2. Change directory into myapp and start the web server: ...
  • ruby-plsql ... 2.5 (ruby-oci8 2.2.3+ is needed for Ruby 2.4) and JRuby 9.1 implementations. ... or VARRAY parameters should be passed as Array plsql.test_sum([1,2,3,4]) # Nested objects or ... ```oracle-xe-11.2.0-1.0.x86_64.rpm.zip``` from [Oracle Home page](http://www.oracle ...