similar to: Error: [Object]Controller: missing default helper path [controller]_helper

Displaying 20 results from an estimated 1400 matches similar to: "Error: [Object]Controller: missing default helper path [controller]_helper"

2006 Jan 31
2
Fragment caching and pagination
I''m just getting my hands dirty with caching. The pages I want to cache have some user specific data on them (for example "log out"). That sent me down the route of fragment caching. One of the things I want to pagination is a paginated list. My question is how is pagination and query strings handled with fragment caching? Does each page get its own fragment and query string
2007 May 24
25
Specs for ApplicationController, where to put them?
The Rails ApplicationController (app/controllers/application.rb) serves as an abstract superclass for all other controllers in a Rails application and is a good place to put methods and filters which you want all of your controllers to use. In my case I''m using it to provide methods such as "current_user" and "logged_in?" etc. By default, RSpec
2006 Aug 16
6
modeling ''phony'' fields.
Hi, I have a user model with an e-mail field. When a user registers for the site, I want them to confirm their email address by typing it in again. If they change their email address, I want them to confirm their email address by typing it in again. However, the user might change things on their account not related to their email address, such as their phone number, and they should not have
2006 Feb 10
1
Bizarre ActiveRecord::Errors/validation problem
I could be going mad and missing something really obvious here but I''m getting an unexpected result from the following. The schema: create_table :services, :force => true do |t| t.column :id, :primary_key t.column :name, :string, :ilmit => 5, :null => false t.column :port, :integer, :null => false t.column :status, :string end The model: class Service <
2006 May 09
3
validations erasing the form
Hi there I have a for with a couple of text_fields. I''m doing some validation via the model and when the validation "works" I get there was an error on blah blah the problem is the form is erased and I have to fill up the form again! I saw that scaffold keeps the form filled when the validation "works" but I dont know exactly what''s making it happen! I would
2005 Jul 08
2
Multiple language support
Hi I am a newbie on Rails. I am trying to figure out how to implement a multiple language site. How do you deal with navigation, error messages coming from Rails etc. Anybody have practical suggestions? Tnx -- PC -- PC __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
2009 Apr 02
3
error_messages_for does not display the error
Hi all I''ve approached Rails since a couple of months to develop a quick application for my company. Fantastic framework. As every noob, I do have some gaps to cover. The one which is giving me a little frustration, generated by my lack of knowledge is as follows. I need to make sure the region object is not deleted if there are countries associated with it. I solved this by putting a
2008 Jun 02
5
validate - message in the flash[:error]
Hi, I want to show the validate - message in the flash[:error] - field but I can''t find any options. An example: class UserPermission < ActiveRecord::Base validates_presence_of :name, :message => "Please insert a name" ... | end V flash[:error] = "Error - " Has anybody a solution for this
2007 Oct 03
2
Providing HTML in an error message generated by validation
All, I have some validation that I''m doing in a model. As part of the error message, I would like to provide an HTML link. What is the best approach to handling this? APPROACH 1: One way is to include ActionView::Helpers::UrlHelper include ActionView::Helpers::TagHelper in my model so that I can use link_to to generate my link (obv. I could hard code HTML as well). But anyway that
2006 Feb 21
5
Abstracting ownership verification out of Controller
Right now I have a controller for "events" that belong to a specific user. I only want the creator to be able to edit or delete the event. I''ve got the proper foreign keys set up. I''ve finally arrived at the point where I can take baby steps with code, but looks like my first steps are in flagrant violation of the DRY principle. Here''s what I have so far in
2007 Jul 23
3
sending email
HI i am presently new to this ror language can you please send me the stepwise procedure for sending the email ...... -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to
2005 Mar 10
4
error messages, loops and saves, actionmailer and finaly authentication
Thanks to everyone who responded to my first set of questions. Not only did I get my questions answered but I improved my code and learned a couple new things. I think I prefer the mailing list over IRC... easier to follow :-) I have some more questions if you don''t mind. Some are Rails related and some are Ruby related. 1) This is concerning displaying error messages. I am assuming
2008 May 17
1
Scope Confusion - Controller iVars in Modules
I''ve created a module to include in a Controller. Basically it works, but I am expecting methods in the module to have access to instance variables from the controller, and that appears to not be the case. Yet, a simple Ruby example says it should be. I''m not sure what''s different. Simple Example: module ShapeStuff def set_type @type =
2007 Nov 17
18
Syntax Problem
I admit I am stuck. I am converting a legacy php site to ROR. The old site uses MD5, a security flaw waiting to happen. I upgraded to AAA and am adding code in the session_controller.rb file to see if crypted_password is blank. If it is, crypt and check the password against the old md5 version and write it in the new crypted_password field. Here is my code add on before the logged_in?: def
2007 Aug 02
2
[Off-Topic] Call for networking help
All, I am the founder and CTO of a new Atlanta area start-up that is a technology incubator and consulting company. We are currently working on building a couple of software as a service apps on the Rails platform. I love working with rails and am trying to get to know more people with rails expertise who are interested in exploring new ventures. Here is the URL to my linked-in profile:
2010 Feb 22
1
[LLVMdev] Is there any method to fetch all the historical Mailling List archive to my email.
I found no idea, sad.
2004 May 20
0
Samba does not respect "winbind use default domain" - winbind only mailling list
I wonder if this is the right forum but would like to make a suggestion. I use winbind on solaris to authenticate users for other services, like pop3. For this purpose I need to have "winbind use default domain" option in smb.conf and smb.conf.winbind (one for winbind only). But samba doesn't respect this in smb.conf, and insists on using default separator ('\'). In
2008 Sep 25
2
[LLVMdev] A question, About how to reading the historical mailling-?
I want to know this. Is this possible? Thanks
2008 Sep 25
0
[LLVMdev] A question, About how to reading the historical mailling-?
Hi anonymous, > I want to know this. Is this possible? Thanks I assume you mean you want to read the archives of the mailinglist? There is an "archives" link on top of each list info page, e.g. http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev (similar for the other mailing list). Hope this helps, Matthijs -------------- next part -------------- A non-text attachment was
2008 Sep 25
1
[LLVMdev] A question, About how to reading the historical mailling-?
Matthijs Kooijman wrote: > I assume you mean you want to read the archives of the mailinglist? There is > an "archives" link on top of each list info page, e.g. > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev On a related note, is there a way to search the archives? They do not seem to be visible to Google, at least Google searches do not find stuff in the archives. For