similar to: List controllers?

Displaying 20 results from an estimated 2000 matches similar to: "List controllers?"

2006 Jan 23
6
Ruby at O''Reilly Rough Cuts
Not sure if this is old news or not, but it would appear that both the Ruby Cookbook and a Rails book are now available for purchase at O''Reilly Rough Cuts (something akin to PragProg''s beta book program): http://rubyurl.com/nHz http://my.safaribooksonline.com/?mode=roughcuts&srchtext=ROUGHCUTS I haven''t tried them yet, but it definitely seems worth checking out.
2006 Mar 03
5
Rails Site: VegasLists.com
Just wanted to drop a note about a new Rails site that we''re testing in the wild, http://www.vegaslists.com. The site allows users to create lists about anything Las Vegas related and then lets other users comment on those lists. It was a project that went from concept to completed in about 2 weeks, working on it after the ''real job'' for fun. It''s very simple
2006 Feb 10
4
before_save gotcha
Is it will known and accepted that before_save triggers should return true? I didn''t notice this before but now I see it in the documentation. Here is what I''m doing in my model: def before_save if self.has_album? self.visible = self.album.visible? end end That results in the expected result when album.visible? is true - but not when it is false. To make it
2006 May 30
2
ActiveMerchant
Is anyone using ActiveMerchant currently? I''ve seen it recommended on this list several times, but it seems kind of buggy and incomplete and I''m having trouble getting it to work. >From the example at http://home.leetsoft.com/am/, I''ve tried: gateway = ActiveMerchant::Base.gateway(:authorized_net) response = gateway.capture(1000, creditcard) ..but it
2005 Dec 09
7
UserEngine - rake bootstrap aborted
Hi there, I''ve just installed login_engine and user_engine from the repositories, followed the setup procedures as documented in: vendor/plugins/user_engine/README But I''m getting the following failure: vince@vaio:~/Projects/Booking$ rake bootstrap (in /home/vince/Projects/Booking) rake aborted! undefined method `edit'' for class `UserController''
2006 Jan 30
2
Modules, controllers and inheritance
Hi! I was trying to cleanup my app and I runned into quite a problem. My controllers in submodule do not seem to inherit things from base class. I have following setup: app/controllers/ application.rb: class ApplicationController admin/ admin_controller.rb: class Admin::AdminController < ApplicationController include LoginEngine include UserEngine
2006 Jan 13
9
form_remote_tag breaks inside table
i guess its better form to keep form tags outside of table tags anyways, but it took a lot of trial and error to figure out thats why @params were no longer showing up after switching form_tag to form_remote_tag. not sure if this is a prototype ''bug'' or ''feature'' or what. but my next step was to switch to a seperate form tag for each row to reduce needless
2006 Feb 11
4
Helpful resources for averyone
Hi all - just a quick one - Ive been reading through a lot of these posts and notice a lot of people looking for resouces ie Tutorials etc, well I have recently signed up for the new Rubyforums.co.uk which promises to be a great source of info for us all, they already have some neat stuff on there which I have used myself and am very happy with so i just thought it the good thing to do by
2005 Dec 15
2
HABTM being tricky
I''ve just been bodyslammed by a problem with has_and_belongs_to_many - as far as I can tell, if it doesn''t appear at the top of other relationship definitions it doesn''t seem to work right. For example: class Artist < ActiveRecord::Base has_and_belongs_to_many :genres has_many :albums has_many :videos has_many :cds has_many :collections end ..works fine
2005 Sep 12
10
RailsPlayground Beta Launch - Free Rails Hosting
I have launched a free Ruby on Rails hosting site as my gift back to the rails community. For details visit http://www.railsplayground.com. -- Joe Clarke www.clarkeweb.com
2006 Mar 03
17
RCSS problems
Hi List! Following http://rcss.rubyforge.org/files/README.html, I''m trying to get RCSS to work with Rails. The rcss command itself works fine, but when trying to access http://localhost:3000/rcss/test.css I always get "Unknown action - No action responded to test.css", which I don''t understand since the route and controller are in place. Anyway, hopefully this is
2006 Mar 31
6
string interpolation - #{} vs. single vs. double quotes
Could someone point me to documentation that provides a succinct and accurate description of the difference between interpolation using #{}, single quotes, and double quotes ? I imagine there''s a set of precedence rules that govern behavior if/when they''re mixed. I''d like to get clear on this. Thanks, Bill -------------- next part -------------- An HTML attachment was
2006 Mar 31
5
Titles in URL ?
Hi! I have an article website and would like to have the title of the article in the URL. and not domain.com/show/id ie: http://domain.ck/articles/how-to-become-a-ror-master/ How to change a title with special caracters like: '', :, ?, !. to something that works in the URL. Thank you! -- Posted via http://www.ruby-forum.com/.
2006 Mar 02
3
plugin versioning
When I install a plugin, does Rails record the version installed anywhere? Maybe I''m not doing it the "right" way, but I''ve excluded vendors from my source repository. I''d like some ''record'' of what plugins are used that is under source control. David
2006 Jan 19
4
UserEngine - rake bootstrap aborted => undefined method `synchronize_with_controllers'' for Permission:Class
Good day all. I have successfully installed Engines and LoginEngine and LE is setup and running correctly. However, after installing and setting up UE, when attempting to run the rake bootstrap method I get the following error: undefined method `synchronize_with_controllers'' for Permission:Class My environment is Rails 1.0.0 Ruby 1.8.2 WinXP WebBRICK MySQL 4.1.14 I found the following
2006 Mar 06
4
Are views inheritable
Is it possible to use a child model''s controller to impliment it''s parents view before adding its own output ? possibly by the use of super ? _tony -- Posted via http://www.ruby-forum.com/.
2006 Jun 29
6
Naming Convention for Controllers?
Hello! I just read DHH''s presentation pdf. In his examples, he wrote PeopleController instead of PersonController. I''ve been using singular words in controller''s name. Which is more common? Thanks. Sam -- Posted via http://www.ruby-forum.com/.
2006 Mar 23
6
[mongrel] [fedora5] install error " can''t find ruby libs"
Installed Fedora5. Installed Ruby 1.8.4. Installed rubygems. Installed rails. Created test app to verify that ruby and rails were working. When I attempted to install mongrel via: sudo gem install mongrel I get this error: Install required dependency daemons? [Yn] y Install required dependency gem_plugin? [Yn] y Building native extensions. This could take a while... can''t find
2006 Mar 01
3
Security issue: a user can fill cache with random urls
Say your app responds to : store/show/3 and caching is enable at the store controller level. A route says : map.connect ''store/:action/:id'', :controller => ''store'' All the following urls will be processed and cached (the cache filling with ''page not found'' messages) ! store/foo/bar store/show/090934298234897342
2006 Jan 03
7
best authorization?
Hello, I want to allow some users to manage other user accounts, but do not want them to manage the admin account. I have tried auth_generator, login_engine and user_engine I am having a hard time gettign this to work. Looking for advise and help. Thanks Frank -------------- next part -------------- An HTML attachment was scrubbed... URL: