similar to: alias_method interferes ApplicationHelper

Displaying 20 results from an estimated 100 matches similar to: "alias_method interferes ApplicationHelper"

2006 Apr 12
1
rails api for dashboard widget like ruby rdoc widgets
hi guys, has someone here implemented rails api for dashboard widget like ruby rdoc widget? http://www.apple.com/downloads/dashboard/developer/rubyrdocwidget.html -- sig "kind regards" :name => " Arie Kusuma Atmaja ", :callme => " Arie ", :ym => " riyari3 ", :email => " ariekusumaatmaja@gmail.com ".chop!, :blog => "
2006 Apr 28
2
["acts_as_authenticated"] << "Role-Based Authorization Rails Recipe"
hi guys, has anyone here implemented role based authorization from rails recipes into acts_as_authenticated ? how''s it going? Case: there is ONE admin. And MANY users. Admin is the only one who can create, edit, delete user, etc.. users also need to login, but go to different pages. do you guys think it''s good to try rick''s acts_as_authenticated + chad''s
2006 Feb 22
3
OT: svn installation tutorial
Hello friendly Rails community, I''m sorry for this OT post, I''ve just switched to Mac and as I see there are so many friendly mac users here, may I ask is there another good/nice Subversion installation tutorial instead of this one: http://developer.apple.com/tools/subversionxcode.html? Is there another way to install it without compiling Subversion by myself? For example via
2010 Jul 19
1
hola
Hola amor! Finalmente llegué a D.C. Ya estoy en el albergue pero el cuarto solo va a ser liberado a la una o tal vez dos de la tarde. Pero no importa al menos ya estoy aqui, ya tomé desayuno que por cierto es horrible. Voy a poder tomar baño y usar un locker por un dolar. Entonces voy a tomar baño guardar mis cosas y salir ya que aqui no hago nada. Cómo fue tu domingo? Cómo está Esteban? El
2009 Sep 02
3
Avoiding loops
Would like some tips on how to avoid loops as I know they are slow in R i've got a data frame : a b c 1 5 2 4 6 9 5 2 3 8 3 2 What i'd like is to sum for each value of a, the sum of b and the sum of c where a equal to or less than (with a distance of 5) i.e. for row three we have a=5 i'd like to sum up b and sum up c with the above rule since 5, 4 and 1 are less than
2006 Apr 26
10
ANN: svn_conf generator -- making "svn import" easy and fun
Rails make it easy to start a new application. At the same time, import a new project into Subversion is not that simple -- there are quite few files that should be ignored. I used to manually remove added log files and tmp/cache, tmp/sessions, tmp/sockets files after the import and then go through the painful process of setting svn:ignore properties. There is an easier way -- simply
2006 Apr 24
1
search recipe
I was able to follow the search recipe in Chad Fowler''s upcoming book but I''m wondering if there is any sort of recipe/guide out there to actually perform the search once the auto-complete does its stuff. Anyone? It''s kind of hard to search for search.. -- Posted via http://www.ruby-forum.com/.
2006 Jan 30
3
ActiveRecord without database
The question is this. Can I use ActiveRecord without the presence of a database? I use only YAML file for my project and I would like use the power of ActiveRecord for my models. I have not tested and so I ask you if this is possible. Thanks so much. --Reis -- Posted via http://www.ruby-forum.com/.
2005 Jul 24
1
international version for number_to_currency ?
bryce benton wrote: > number_to_currency(1234567890.506) => $1,234,567,890.51 BTW agile book does mention this .. will this number_to_currency(x) be internationalized ? or i can set it to Indonesian for example (or to any other languages rather than just English) ? -- Salam hangat, <%= Arie %> | http://blog.riyari.com | Y!: riyari3 email: ariekusumaatmaja_at_riyari_dot_com
2006 May 12
3
file_column error
Hmm, I''m using file_column and going by this tutorial, the files upload ok and I can see the fields updated in the database, but I am getting this error: "Trying to access file_column, but primary key got lost." Thanks in advance -- Posted via http://www.ruby-forum.com/.
2006 Apr 18
0
Re: Searchable archive of this list?
> From: Sean Hussey <shussey@...> > Subject: Re: Searchable archive of this list? > Newsgroups: gmane.comp.lang.ruby.rails > Date: 2005-09-16 17:00:28 GMT (30 weeks, 3 days, 16 hours and 36 minutes ago) > > I have GMail, but rarely use it. Do most people here use it for list > management? > > This might be a silly question, seeing as it''s based
2008 May 21
0
Problem with alias_method in a plugin
Hi, I''m doing my first plugin, based on attachment_fu structure. Here''s the code: http://pastie.caboo.se/200797. The problem is that the meta_tag method doesn''t seem to be overwritten. I can call model_instance.original_meta_tag and it return same thing as model_instance.meta_tag, so the aliasing works. I can call model_instance.foo and it correctly returns class of
2007 Feb 26
2
undefined method ... from `alias_method'
0 wicked var/www % ./script/console Loading development environment. >> r = Recipe.find :first NameError: undefined method `recipe_type='' for class `Recipe'' from ./script/../config/../config/../app/models/recipe.rb: 101:in `alias_method'' In recipes_controller: alias_method :orig_recipe_type=, :recipe_type= def recipe_type=(t) if t.nil?
2005 May 17
0
NT domain computer account
Hi list, Curiosity killed the cat, but... I've been reading samba sources and I can't quite figure out what 'features' of UNIX account is required for 'workstation account' (as in NT domain). The furthest I coud get to pin-point the requirements, is the pdbedit source (source/utils/pdbedit.c), where we have two functions: 1) new_used(*context, *name, *full_name, *home,
2008 Jan 18
2
NameError when using alias_method -- but method exists?
Hello Rubyists, I am a bit stumped here. I want to extend the ''load_file'' method in the YAML module. Following along with the PickAxe example of making old methods do new things, I try this in irb: >> module YAML >> alias_method :orig_load_f, :load_file >> def load_file(*args) >> contents = orig_load_f(*args) >>
2006 May 31
7
How to render from with <%%> ?
I have a loop that I iterate through in my view. <% coll.each do |itm| puts(itm.value) end %> How do I render the itm.value without using a <%= %> tag? Should puts not work? Joerg P.S. There is a good enough reason for me wanting to do this :-) -- Posted via http://www.ruby-forum.com/.
2006 Apr 17
20
Rubricks - CMS on Rails
Hi list, I made an open source CMS powered by Rails, named Rubricks. I have a web page for Rubricks. You can download it or view a flash demo there. Please try them and feed me back, like bug report etc. Check it out at: http://rubricks.org/index_en.html Thanks. Shouta
2006 Jun 21
0
Action Mailer and ApplicationHelper method
Hi, sorry if this has been asked before, but I couldn''t find any info. Is it possible to use application helper methods in ActionMailer templates (or methods, in case this is the only way)? All I found is one statement in the agile web development book, that ''the regular helper methods, such as truncate(), are available''. Is there any overview which helpers are
2006 May 07
0
NoMethodError trying to get ApplicationHelper method from a functional test
I am a little confused by the includes I suspect. In the book, it states that runtime environment will load the directories app, app/models, app/controllers, app/helpers, app/apis, components, config, lib, vendor and vendor/rails/*. However, when I try to access my "current_project" public method, it fails with a NoMethodError. What is even stranger is that I can use reflection to find
2006 Feb 26
0
rescue_action with RoutingError not loading ApplicationController/ApplicationHelper
Why is it that when rescue_action is called with any exception except for RoutingError, "self" refers to a controller within my application, but when there''s a RoutingError, "self" refers to an object of ActionController::Base? This makes some sense because a "RoutingError" implies that no controller was found to process the request. However, I am trying to