search for: daggett

Displaying 20 results from an estimated 36 matches for "daggett".

Did you mean: baggett
2006 Jan 09
3
rails ignoring the migration file
...::ColumnDefinition:Class Is anyone else know why this is happening? Does anyone else have a problem with rails converting values in the schema.rb to something other than what is in the migration file? Thanks, Mark -- -------------------------------------------------------------------- I am Mark Daggett and I approve this message.
2006 Jan 10
5
problems overriding module with plugin
...xtension) ............. code ............ end end end end this is what i have in my vendor/plugins/patches/lib directory, does anyone know why this is not working? Thanks, Mark -- -------------------------------------------------------------------- I am Mark Daggett and I approve this message.
2006 Feb 02
3
acts_as_family_tree
...tree. This means that instead of having one parent each item has at most two. As far as I know acts_as_tree only allows one parent_id. Any suggestions on how to make a "acts_as_family_tree" ? Thanks, Mark -- -------------------------------------------------------------------- I am Mark Daggett and I approve this message.
2006 Mar 25
2
acts_as_tree wierdness with children.count and children.size
..._id = cat.id cat4.save puts cat.children.size 2 puts cat.children_count 2 however cat.children.count produces the correct number (3) what gives? Thanks, Mark -- -------------------------------------------------------------------- I am Mark Daggett and I approve this message. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060325/00697877/attachment.html
2005 Dec 02
3
Conceptual Design Question
...y assigning them to a group rather than assigning them permissions individually. A permission group can have: • One to many users • One to many categories • One to many assets Is this a smart way to go about things? -- -------------------------------------------------------------------- I am Mark Daggett and I approve this message. _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails
2005 Dec 22
3
acts_as_stateless ?
...al load balancers? We use totally stateless machines here at work and I am worried about deploying a rails app in production that uses a volitile session stored on the machine. Any help is great! Happy Holidays, Mark -- -------------------------------------------------------------------- I am Mark Daggett and I approve this message.
2006 Jan 12
3
url_for in tests
Hi there, I''ve added an extra bunch of testing features for doing in-browser testing with Selenium, and am having quite a time figuring out how to use url_for with having a controller object present. I''ve tried using ActionController::Base.url_for and ActionView::Helpers::UrlHelper.url_for but haven''t been able to get something that works. What I want to be able
2006 Feb 10
7
convert rails object to javascript variables
...ect for javascript in this way? <% for i in interface_items[0].attributes %> var <%= i[0] %> = "<%=h( i[1] )%>" <% end %> Am I missing something really obvious? Thanks, Mark -- -------------------------------------------------------------------- I am Mark Daggett and I approve this message.
2006 Mar 23
2
rails 1.1 and mysql errors
...t/3175 I am very happy to see Rails moving on to bigger and better things, as soon as I figure out how to solve these issues I hope to join the rest of you guys as well! Anyone with insights on these issues? Mark -- -------------------------------------------------------------------- I am Mark Daggett and I approve this message. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060323/2f511dd4/attachment.html
2006 Jan 08
4
Rails table pluralizing Issue
Hi, I am working on a table with name "addresses". However when I do a ruby script/generate scaffold Address, I am not able to access http://localhost:3000/addresses. I am getting the following error. uninitialized constant Addres This error occured while loading the following files: addres.rb How do I resolve this issue. Thanks Silvy MAthews
2005 Dec 31
6
habtm recursion via destroy_without_callbacks
I am having a problem with two models that each have a HABTM relationship to the other. For example: CREATE TABLE people (id INT, name TEXT); CREATE TABLE teams (id INT, name TEXT); CREATE TABLE people_teams (person_id INT, team_id INT); The person model has: has_and_belongs_to_many :teams And the team model has: has_and_belongs_to_many :people The trouble comes when trying to destroy
2006 Jan 30
8
Translating a validtion flash
I''m a belgian Rails user (Dutch is my native language). I wondered if it is possible to translate error messages (generated by validators). I know how to create my own error messages: def method content rescue logger.error(...) flash[:notice] = ''My own error message" redirect_to(...) But where can I find the validator''s .rb files, so I can change them?
2006 Mar 12
1
a better way to alias methods
...e project controller therefore I want to prevent the user from poking around for sensitive methods inside the project controller. This is my current implementation, but it doesn''t feel very DRY. Thanks, Mark -- -------------------------------------------------------------------- I am Mark Daggett and I approve this message. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060312/8cd443a7/attachment.html
2006 Jan 12
2
Finding by association
I have two objects that are associated in the following way: class Class1 < ApplicationController has_and_belongs_to_many :class2s has_and_belongs_to_many :otherClasses end class Class2 < ApplicationController has_and_belongs_to_many :class1s has_and_bleongs_to_many :otherClasses end Now, when I run the following query, @objects = Class1.find(:all, :conditions
2006 Mar 09
2
Newbie question: How to represent parent-child denormalization
I am building a relatively trivial application to try to learn my way around Rails. I am having difficulty understanding how to navigate a heavily denormalized hierarchy. Could someone direct me to a bare-bones explanation of using rails to navigate database hierarchies? I am an experienced developer. Most of my work has been desktop client server, high performance, or server to server
2008 Jun 03
1
Re maintenance of the dovecot-uidlist files
Greetings all, I am new to dovecot, using ver 1.0.13 and IMAP with ~/Maildir delivery. I have noticed that the entries in the dovecot-uidlist files don't seem to get updated when an email is deleted or moved to .Trash. It appears that this list list would just keep growing over time, being full of no longer used filenames, and must tend to increase its processing overhead. I have also
2006 Mar 09
1
very basic newbie question!
Bringing up (trying!) my first rails app... no OO experience the scaffold generator automatically creates new activerecord objects for the create/edit form using: def new @schoolclass = Schoolclass.new end I wanted to initialize the object, so I added to the object creation statement as follows: @schoolclass = Schoolclass.new(:day=>1, :start_time=>"2006:01:01 00:00:00,
2006 Mar 09
1
I wanna use INFORMIX DB in Ruby on Rails
I have the INFORMIX ODBC Driver(INFORMIX connected by RUBY-ODBC) on Windows but I don''t have one for on RAILS. That''s my big problem at this moment!!! I''m trying to find a solution to connnect INFORMIX DB using Rails very badly! Could you help me fix my trouble? I need your tips!!!! help me ;-( -- Posted via http://www.ruby-forum.com/.
2006 Feb 14
0
[REQUIREMENTS] Macromedia Flash View for Rails Controller
...ail''s controller. Because I only need javascript is this something that rjs templates might be better for? I have never done them and I am just a little shaky on the best places to use them. Thanks! Mark -- -------------------------------------------------------------------- I am Mark Daggett and I approve this message.
2006 Feb 16
0
[JOB] Los Angeles South Bay
...se send a brief rails code sample you are proud of and a brief description of why you find it so compelling. Applicants only... Headhunters, Recruiters, talent-scouts, loan-sharks etc. need not apply! Thanks, Mark -- -------------------------------------------------------------------- I am Mark Daggett and I approve this message. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060216/7e66f427/attachment.html