using System; using System.Collections.Generic; using System.Linq; ...
C# Problem with Login for Admi...
by tragicdancer.myopenid.com,
July 14, 2011 13:32,
1 refactoring, tagged with models, controller, login, C# asp.net-mvc, asp.net-mvc
# In helper def show_row(label, attribute) ...
Ruby Infer column name from inst...
Assume you have a model, li...
def upgrade_and_restart @myvocabulary.upgrade nextmyvocabulary = Myvocabulary.draw(current_user.id, params[:position], @myvocabulary.vocabulary.lesson.proficiency.id) ...
Ruby shorten long variable names...
by dive.myopenid.com,
June 22, 2009 18:52,
5 refactorings, tagged with rails, models, variable names
I wonder how you make a lin...
class Chat < ActiveRecord::Base
KINDS = [[:office.l('Oficina'),0],['Personal',1]]
...
Ruby Multilingual Model Options
So far this works a treat, ...
I'm trying to implement a s...