search for: zzdmy6jjove

Displaying 3 results from an estimated 3 matches for "zzdmy6jjove".

2005 Mar 04
4
Upgrading broke the .find methods???
I just updated to rails (via gem) and now all my .find..... methods give me "wrong number of arguments(3 for 0)" with the exception of find_by_sql which works fine but I want to avoid for obvious reasons. I''ve tried simplifying everything down to the bare minimum Priorities.find(1) and I printed out Priority.table_name to confirm it was still correct. What gives? Did I
2005 Jul 04
1
Localization problems with leeding html escaped ÅÄÖ
Hi All. When translating a string to in swedish, using HTML codes for å,ä,ö i have a minor problem. Eg: (se.yaml) ui_core_over: Över All I get when calling l(''ui_core_over'') in my view is "Ouml;ver" The leeding & is missing, making the page look silly. The HTML characters works fine as long as it''s not used as the first letter in the string.
2005 Mar 10
8
Login controller additions
I have added roles and roles_users table and updated the model so that my users can have multiple roles. ("Admin" role does always have id = 1). I have added these methods to my application controller. <code> helper_method :is_admin? helper_method :is_user? def is_admin? if @session[''user''] @session[''user''].roles.find(1)