Redmine/app
Toshi MARUYAMA aa127ebd4e Rails3: model: Member: add virtual attribute to prevent error
On Rails 3.0, test fails with following error.

<pre>
Error:
test_validate(MemberTest):
NoMethodError: undefined method `role' for #<Member:0x7f73caf8cd08>
    app/models/member.rb:87:in `validate_role'
    test/unit/member_test.rb:76:in `test_validate'
</pre>

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8127 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-08 15:12:02 +00:00
..
controllers Removed unnecessary calculations in time entries index. 2011-12-04 23:01:42 +00:00
helpers Rails3: helper: html_safe for render_flash_messages method at ApplicationHelper 2011-12-07 23:53:20 +00:00
models Rails3: model: Member: add virtual attribute to prevent error 2011-12-08 15:12:02 +00:00
views replace tabs to spaces at app/views/issues/_form.html.erb 2011-12-08 07:30:03 +00:00