サクサク読めて、アプリ限定の機能も多数!
トップへ戻る
中東情勢
agilewebdevelopment.com
This plugin gives every ActiveRecord::Base object the possibility to do a deep clone. Example Cloning a model without an attribute pirate.clone :except => :name Cloning a model without multiple attributes pirate.clone :except => [:name, :nick_name] Cloning one single association pirate.clone :include => :mateys Cloning multiple associations pirate.clone :include => [:mateys, :treasures] Cloning re
RailsDatatables A simpler, Rails-friendly interface to using the DataTables jQuery library. Prerequisites Make sure you have jQuery.js and jQuery.dataTables.js in /public/javascripts/ and that they're included in your layout. Setup Give table a class of 'datatable' so that the Javascript knows which table to alter. NOTE: If you want to use multiple tables on a single page, include the :tabledomid
This plugin allows you to easily integrate SWFUpload to your Ruby on Rails application Installation script/plugin install git://github.com/alex3t/swfupload_fu.git Using SWFUpload required some javascripts and stylesheets. For this you can use SWFUploadFu helper in your views <head> <title>...</title> <%=swfupload_head %> </head> Now you can place swfupload form anywhere on your page. You need prov
Backgroundjob (Bj) is a brain dead simple zero admin background priority queue for Rails. Bj is robust, platform independent (including windows), and supports internal or external manangement of the background runner process. Jobs can be submitted to the queue directly using the api or from the command line using the ./script/bj: api: Bj.submit 'cat /etc/password' command line: bj submit cat /etc/
Name URL Email Comment Spam protection: Insert the next number in this sequence: 10, 11, 12, 13, 14, ?? Pablo Melo 15 Jun 2008 using the callback: after_resize do |record, img| record.size = img.filesize end used to work fine with rails 1.2.6 but I upgraded to 2.1 and get the error message: The error occurred while evaluating nil.filesize Then I applied the patch from: http://blog.methodmissing
Get the power of ActiveRecord models, including validation, without having a table in the database. class Contact < ActiveRecord::BaseWithoutTable column :name, :string column :email_address, :string column :message, :text validates_presence_of :name, :email_address, :string end This model can be used just like a regular model based on a table, except it will never be saved to the database. Name U
Add a comment summarizing the current schema to the top of each ActiveRecord model source file. Name URL Email Comment Spam protection: Ten divided by two is what? ctran 28 Feb 2008 I've incorporated the change from Alex and converted the whole thing into a gem and sake task, for those interested. Check it out at http://github.com/ctran/annotate_models Alex Chaffee 22 Nov 2007 I've updated this p
Overview Safe ERB lets you make sure that the string written by "<%= %>" in your rhtml template is escaped correctly. If you try to show the attributes in the ActiveRecord instance read from the database or the parameters received from the request without escaping them using "h" method, an exception will be raised. This will significantly reduce the possibility of putting cross-site scripting vuln
Features: * Creates tables to store data feeds * Provides templates for: Add/delete/update_entries feed, show entries by feeds, list feeds. * Support RSS 0.9, RSS1.0 , RSS2.0 and ATOM * REQUIRE: * open-uri * feed-normalizer * hpricot Current Version: 0.1 HOW TO USE Added (07/24/07) Generator script/generate feeder rake db:migrate (to make the table) Class Mehods: * is_feed? (url , opti
A site for Rails developers. Home of the Rails plugin directory.Welcome to the Rails Plugin Directory, where you can find all Rails plugins you could possibly want. I'm always on the hunt for new plugins to add to the directory, so you can be lazy and just come here to find the latest and greatest contributions from the Rails community. There are RSS feeds to keep you up to date, and a recently a
WillPaginate Pagination is just limiting the number of records displayed. Why should you let it get in your way while developing, then? This plugin makes magic happen. Did you ever want to be able to do just this on a model: Post.paginate :page => 1, :order => 'created_at DESC' … and then render the page links with a single view helper? Well, now you can. Some resources to get you started: Your mi
Added on 22 Aug 2006 Acts As Taggable On Steroids This plugin is based on acts_as_taggable by DHH but includes extras such as tests, smarter tag assignment, caching, and tag cloud calculations.
ActsAsTaggableRedux ============= Allows for user owned tags to be added to multiple classes, and makes tags easier to work with. Prerequisites ======= Install Edge Rails before you get started so you get RESTful routing. ActsAsTaggableRedux depends on database tables to store tagging information. Create the migration for these tables with this command: rake acts_as_taggable:db:create Then run the
Provides a thin wrapper around the excellent ruby-openid gem from JanRain. Be sure to install that first: gem install ruby-openid To understand what OpenID is about and how it works, it helps to read the documentation for lib/openid/consumer.rb from that gem. Prerequisites OpenID authentication uses the session, so be sure that you haven’t turned that off. It also relies on tmp/openids being prese
# Generators: You can generate a sample style-sheet with: ruby ./script/generate SmartFormStyle # Note: +smart_form_for+ generates only the +form+ fields and not the starting/ending +form+ tags. # Usage: smart_form_for(symbol, options) # Examples: <% form_for "/people", :method => :post do %> <%= smart_form_for :person %> <% end %> # Other Examples: <%= smart_form_for :person, :exclude => 'created
Acts as Authenticated Acts As Authenticated is a simple authentication generator plugin for Ruby on Rails.
Name URL Email Comment Spam protection: Insert the next number in this sequence: 10, 11, 12, 13, 14, ?? james 9 Jul 2008 When i install this on rails 2.1, something wrong... I got an error like this: "Missing template login.html.erb ..." Stefaen 11 Jan 2008 Thank you Matthew, great work, for me it works fine. iam looking forward for implementation of habtm. Big up for great work! yours stefan Pu
This is a basic restful authentication generator for rails, taken from acts as authenticated. Currently it requires Rails 1.2 (or edge). To use: ./script/generate authenticated user sessions The first parameter specifies the model that gets created in signup (typically a user or account model). A model with migration is created, as well as a basic controller with the create method. The second para
A site for Rails developers. Home of the Rails plugin directory.AgileWebDevelopment.com is a site dedicated to helping you in your web development efforts. Here you will find tips and resources to help you have more joy with your Ruby on Rails projects. Check out the plugin directory, complete with XML API, to find add-ons written by members of the Rails community that can speed your development
Plugin that allows you to define routing requirements that test methods/properties of the request object such as subdomain, domain, port. You can test them either against a value or with a Regexp (assuming the method returns a string). In routes.rb you can specify use the :requirements hash with request properties: map.connect '', :controller => 'main', :requirements => { :subdomain => 'www' } Yo
acts_as_taggable_on_steroids If you find this plugin useful, please consider a donation to show your support! http://www.paypal.com/cgi-bin/webscr?cmd=_send-money Email address: jonathan.viney@gmail.com Instructions This plugin is based on acts_as_taggable by DHH but includes extras such as tests, smarter tag assignment, and tag cloud calculations. Installation ruby script/plugin install http://sv
Better nested set This plugin provides an ehanced acts_as_nested_set mixin for ActiveRecord, the object-db mapping layer of the framework RubyOnRails. The original nested set feature seems to be quite old and missed some necessary functionalities. Details This acts provides Nested Set functionality. Nested Set is a smart way to implement an ordered tree, with the added feature that you can select
Welcome to the Rails Plugin Directory, where you can find all Rails plugins you could possibly want. I'm always on the hunt for new plugins to add to the directory, so you can be lazy and just come here to find the latest and greatest contributions from the Rails community. There are RSS feeds to keep you up to date, and a recently added category if you're into the old-school way of getting update
このページを最初にブックマークしてみませんか?
『Agile Web Development』の新着エントリーを見る
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く