search for: agilewebdevelopment

Displaying 20 results from an estimated 144 matches for "agilewebdevelopment".

2006 Jun 20
22
New e-book - The Money Train
...esentation with Ben Wiseley, he suggested writing a book on the same topic... so I did! The Money Train is an e-book about building e-commerce sites using Ruby on Rails. Read my blog entry about it at http://www.bencurtis.com/archives/ 2006/06/rails-e-commerce-e-book/ or head to http:// www.agilewebdevelopment.com/book to dive right in. As always, a big thank you goes out to DHH, the rest of the core team, and all the plugin authors and others who contribute code and time to make Rails a wonderful development framework. -- Benjamin Curtis http://www.bencurtis.com/ http://www.tesly.com/ -- Collabora...
2008 Feb 01
4
How to sanitize _before_ going into the database?
I use a call to the sanitize method every time I render some user input, but it would be much nicer if I could clean it up once before putting it into the database and avoid having to call the (relatively expensive) sanitize every time I render a page. My first thought was to just add something like: def message=(x) self[:message]=sanitize(x) end However, the sanitize helper cannot be called
2006 Jun 10
5
[REL] Manage Fixtures 2.0.0
Just released a new version of the _Managed Fixtures_ plugin, previously known as _Export Fixtures_. The name change comes with some added functionality for managing the fixtures, primarily with two new import tasks for importing specific Models or all of them within the test/fixtures directory. Both new import tasks take the exported fixtures, and allow you to directly import one, or all of
2006 Jun 12
3
standard way of downloading & using rails standard plugins
Hi, I am a newbie to ruby & rails. Can anybody give me some inputs as to how to download & use standard rails plugins. Any help regarding this will be greatly appreciated. -- If not you then who..... If not now then when...... ----------------------------------------------------- With Best Regards, Medha. -------------- next part -------------- An HTML attachment was scrubbed...
2006 Jul 10
4
Advice on handling money
Hi, I''m trying to handle money within an online store I''m building and I''m very stuck. I understand that using a float in the db is bad because of "rounding errors", and that storing the price as an integer is the best way forward. I know this has been brought up before on the list and I have search the archives but can''t find a good way forward.
2006 Jul 10
3
search plugin?
All, I know there are 3 or 4 search plugins out there. I''m trying to find one that will allow me to search associated fields. My database content is pretty small, so efficiently is not so critical. On the other hand I have ton of :belongs_to type fields, so I need something that works well with the Rails models. Any recommendations? == Example of what I need to work Assume I have a
2006 Jun 22
4
Shop plugin?
I hope I''m not completely off-base here but is there a shop plugin for ruby/rails that means I don''t have to write the code for a shop from scratch? Can''t seem to find one... Thanks! Bex -- Posted via http://www.ruby-forum.com/.
2006 May 10
1
Rails Plugin Directory - Comments
The directory of Rails plugins at http://www.agilewebdevelopment.com/ plugins/ now has support for adding comments to plugins, so stop by and leave a kind word about your favorite plugin. :) A feed for plugin comments is available at http:// feeds.feedburner.com/RubyOnRailsPluginComments, while the plugin feed itself is available at http://feeds.feedburne...
2008 Apr 02
9
application.html for website in 2 languages?
Hello, I''m a newbie on the rails environment. I''ve just created an application.html.erb to have the same layout on all pages but the site will be available in 2 different languages, then with 2 different layouts. Then I would like to have an application.html.erb with the layout in French and an application.html.erb with the layout in English. Thanks you for your help, --
2006 Jul 11
4
validates_unlike plugin
Validates Unlike Plugin (v 0.1) ======================== Validates Unlike plugin validates that the value of the specified attribute doesn''t match against the regular expression provided Class Contact < ActiveRecord::Base validates_unlike :comment, :with =>/html|http|onclick|onmouseover/ , :message => "comment can''t include: href,http,onclick,onmouseover."
2006 Jun 21
14
[Bounty] 1 pizza for 1 simple plugin
So here''s the deal. I don''t know the innards of rails well enough to do this quickly but you might. First person to write this and release it under MIT license or public domain, and tells me, gets a free pizza from your favorite local delivery place. You pick the toppings, I''ll call ''em and order it up for you. Yeah a pizza isn''t much but I''m
2006 May 15
0
Rails plugin directory: Permalinks
You can now take a stab at quickly finding a plugin based on it''s name: http://agilewebdevelopment.com/plugins/ [plugin_name_with_underscores] So, http://agilewebdevelopment.com/plugins/acts_as_authenticated will take you directly to that plugin. If you guess incorrectly (there''s no exact match), then you''ll be returned a search based on what you entered. -- Benjamin...
2006 May 18
5
acts_as_classifiable plugin
Hello, I am pleased to announce the availability of the plugin acts_as_classifier which allows using the ''classifier'' gem in a Rails application. This plugin can be downloaded from http://opensvn.csie.org/sksinghi/acts_as_classifiable/ This plugin is useful in scenarios where you want to distinguish between spam or non-spam comments, Or maybe you want to track the
2006 Jul 26
2
ResponseLogger Plugin
http://www.agilewebdevelopment.com/plugins/responselogger From the README: Ever wondered what exactly Rails returned in an RJS response ? Here''s your chance to see it: ===> text/javascript (49 bytes) Element.replace(''target'', ''<em>It works!</em>''); <=== =...
2006 Jun 13
4
script/plugin discover breaks?
Hi everyone, I was trying to discover some new plugins, but the script breaks at a certain point: $ ./script/plugin discover Add http://delynnberry.com/svn/code/rails/plugins/? [Y/n] Add http://svn.recentrambles.com/plugins/? [Y/n] Add http://svn.hasmanythrough.com/public/plugins/? [Y/n] Add http://www.svn.recentrambles.com/plugins/? [Y/n] Add http://sean.treadway.info/svn/plugins/? [Y/n] Add
2006 Jul 11
2
acts_as_versionable and prospective versions
Anyone out there really familiar with acts_as_versionable ? I''ve recently got it working, and I think it''s working great. But what I want to do is a little different than what it does by default. Currently, each time I save the activerecord, the plugin increments the version number in the main table, and writes a copy to the table that stores old versions. What
2010 Feb 04
2
preload test data from factory_girl
Is there a way to preload common data made by factory_girl to speed up tests instead of recreating these common data at the beginning of every test. For example, I want to have 10 users premade at the beginning of every test. I found this http://agilewebdevelopment.com/plugins/factory_data_preloader But the page says that this plugin does not "play nice" with autotest. But I use autotest. Is there another solution? Thanks. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To pos...
2006 Jul 27
9
Introspecting validates_presence_of
Hello people, I''d like to detect whether an attribute of a model has vaildates_presence_of applied to it so I can automatically apply a mandatory (*) to the field...it doesn''t look easy...any ideas? Cheers, -- Dan Webb http://www.danwebb.net
2006 Jul 04
3
act_as_state_machine plugin inaccessible
Seems like act_as_state_machine plugin is not accessible from http://lunchroom.lunchboxsoftware.com/articles/2006/01/21/acts-as-state-machine as this site is down and script/plugin discover is broken as it fails when trying to add plugin repositories giving the message as below; Add http://svn.northpub.com/plugins/? [Y/n] y (eval):3:in `each'': undefined method `[]'' for
2007 May 23
3
User Login (process_login)
Hiya - before I start let me tell you i''m a Nuby on Rails. I''ve created a user registration within my application that requires email validation and that seems to be working fine. I''m now creating the user login page and have the following code in my UsersController: def login @user = User.new @user.username = params[:username] end def