search for: userroles

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

Did you mean: user_roles
2007 May 17
0
MySQL set data type
I have a legacy database table I''m working with in Rails and one of the fields is the MySQL set field type, like so: `userRoles` set(''CEO'',''President'',''Vice President'',''Sales Manager'') When I access the table with Active Record I only get an integer value for this field, which I think is the raw format MySQL uses to store the set values. Does anyone k...
2010 Nov 30
4
Cucumber+Capybara rails 3 issue (Don't know where exactly)
When I''m executing cucumber tests, I noticed that sometimes rails app (in test env.) getting several the same requests (GET or POST) usually around 3, and it doesn''t render anything with empty HTTP status code. Have anyone met something similar to that issue? here is some example of log file: Started POST "/account" for 127.0.0.1 at 2010-11-30 22:34:17 +0200
2010 Jun 03
2
creating fixtures for has_many :through
I''m stymied at how to create a fixture that establishes a has_many :through relationship. I''ve watched the railscast at: http://media.railscasts.com/videos/081_fixtures_in_rails_2.mov ... but that''s for HABTM relationships. I''ve read: http://www.ruby-forum.com/topic/145676 but that ultimately doesn''t answer any question. So with no further ado: