Ruby On Recreating a list with acts...

by mitch, July 10, 2008 23:47

Michael and zoopzopp:
Thank...

F1a42e15a7d426b8e717687794e0234b Talk
1
2
3
4
class Page < ActiveRecord::Base

def assigned_widgets=(string)
...

Ruby Recreating a list with acts...

by mitch, July 10, 2008 03:27, 5 refactorings, tagged with acts_as_list, rails

I tried playing with this a...

F1a42e15a7d426b8e717687794e0234b Talk
1
2
3
4
with_options :if => :password_validations_required? do |p|
  p.validates_presence_of     :password
  p.validates_presence_of     :password_confirmation
...

Ruby On ActiveRecord Validations wi...

by mitch, June 06, 2008 01:15 Star_fullStar_fullStar_fullStar_fullStar_full

One little change. This wa...

F1a42e15a7d426b8e717687794e0234b Talk

Ruby On ActiveRecord Validations wi...

by mitch, June 03, 2008 00:42

Thanks so much for the help...

F1a42e15a7d426b8e717687794e0234b Talk
1
2
3
4
in models/user.rb
...  

...

Ruby ActiveRecord Validations wi...

by mitch, May 31, 2008 19:49, 3 refactorings, tagged with validations, conditions

I've never run into a situa...

F1a42e15a7d426b8e717687794e0234b Talk
1
2
3
def self.valid?(key)
  (h = find_by_key(key)) && (h.invitation_details_count < h.total)
end

Ruby On Better Nest Ifs

by mitch, May 17, 2008 14:22

I know that this is an old ...

F1a42e15a7d426b8e717687794e0234b Talk