search for: immor

Displaying 20 results from an estimated 30 matches for "immor".

Did you mean: immod
2006 Jan 05
8
Repost - Do dynamic finders work with legacy schemas?
Hello everyone, I have another question related to a legacy schema I am working with. Do dynamic finders work with legacy schemas in general? The schema I am working with uses hungarian prefixes for column names. For example fOpen is 0 if a bug is closed and 1 if it is open (type smallint). When I try @bugs = Bug.find_all_by_fOpen(1), I get the following exception: undefined method
2006 May 09
2
[Prototype] Why doesn''t calling submit() on a form result in the execution of the onsubmit event handler?
Hi, Is it normal that a call to $(''some_form'').submit() doesn''t result in the execution of an onsubmit event handler on ''some_form''? Thanks, - Rowan -- Morality is usually taught by the immoral. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060509/685db992/attachment.html
2006 Jan 03
3
SwitchTower and Subversion branches
...tchtower to then deploy from that new_branch for these occassions, which hardly seems convenient. And, I''m simply afraid to deploy an unsuitable version by accident. I hope I''ve made myself somewhat clear on this confusing subject, - Rowan -- Morality is usually taught by the immoral.
2005 Dec 27
4
Using mocks
Hi, What's the purpose of test/mocks? I couldn't quite complete the Wiki entry on this because all the information I _could_ find was in the readme. - Rowan -- Morality is usually taught by the immoral. _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails
2006 Jan 05
1
How to freeze SwitchTower
...o lib/ which I disagree with). Is there anyone else actually using a "frozen" SwitchTower? If so, what did you do to freeze it with a minimum of fuzz? [1] http://nubyonrails.com/articles/2005/12/22/freeze-other-gems-to-rails-lib-directory - Rowan -- Morality is usually taught by the immoral.
2005 Dec 15
2
Checking the existance of a NOT NULL constraint from Active Record
...#39;d like to check the existance of a NOT NULL constraint for a given attribute using ActiveRecord. Is this possible or do I have to painstakingly query the information_schema myself? I need this for some reflection in a custom association. Thanks, - Rowan -- Morality is usually taught by the immoral. _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails
2006 Jan 06
4
Are migrations executed within a transaction?
Hi all, Can I safely assume that each migration is excuted within a transaction, so that''s it''s safe to have migrations executing failing statements? Thanks, - Rowan -- Morality is usually taught by the immoral.
2015 Mar 25
1
Dovecot Oy merger with Open-Xchange AG
...project entirely: ie sourceforge project closed, source code disappeared, mailing lists vanished even the domain name name closed down. If it wasn't for third party storage/downloading sites the project source code would have been practically non-existent. I consider such behavior firstly immoral since a project's success is not only its design but largely also its debugging, mostly done by thousands of unknown helpers writing their experiences and problems in mailing lists. I hope Timo manages well, keeps the community going but also makes a living (or a ton of money ) out of Dov...
2005 Jun 29
3
Setting the value of a primary key field
...ng this field because it thinks it should leave primary keys alone or something? Or does it only manage single-column, integer primary keys with a correctly named accompanying sequence? Thanks for shedding any light on what is probably my ignorance, - Rowan -- Morality is usually taught by the immoral.
2006 Feb 03
1
nested has_many associations
My question is whether the rails helper methods for handling associations can be nested (see examples below). I suspect not as currently I''m getting "unknown method" if I try and use two associations in one call. The essence of the code is class User << ActiveRecord::Base has_many :items class Items << ActiveRecord::Base has_many :reservations belongs_to
2005 Dec 15
3
define_method with parameters
Hi, I''m trying to write a macro which defines methods. One of these should have a parameter, but I can''t get that to work. Something like: define_method("printstuff") do puts "blabla" end works fine. But, how do I use define_method to create something like: def printstuff(the_stuff) puts the_stuff end Thanks in advance.
2006 Feb 23
1
Ajax, validation, flash messages & redirects...
Hi everyone, I''m working on an file upload page that uses an ajax progress bar (http://sean.treadway.info/demo/upload/). I''ve also got validation on the uploads (must be a certain file size/mime type etc). When uploads pass validation - all is dandy. But when they fail - I can''t work out how to redisplay the form with the flash error messages (that normally appear
2006 Feb 16
4
newbie question regarding basic AJAX form verification
Hi, I''m confused about how form verification with AJAX works. Let''s say I have a ''new.rhtml'' view that contains a form with two fields, and the form action is ''create''. Let''s assume that I also want to do some type of data validation on one of the two fields via AJAX before I submit the form. But since I''ve already
2006 Feb 12
2
link_to_remote (AJAX) and tables: IE issues, validation?
I have a table that lists domain names, with a form next to it to add new domains. I have AJAXified this so that new domains are immediately added as table rows. This works fine in Firefox 1.5/Win, but not in IE6/Win. Domains are added into the database, but the HTML table is not updated unless you reload the page. Some googling tells me there are issues with e.g. link_to_remote updating
2007 Jun 26
3
Possible Filesystem Corruption with Samba 3.0.25a (with XFS and LVM)
...65 2f 57 69 6e 64 6f 77 73 2f 47 61 6d 65 73 2f |e/Windows/Games/| 000002c0 54 69 74 61 6e 20 51 75 65 73 74 20 2d 2d 20 49 |Titan Quest -- I| 000002d0 6d 6d 6f 72 74 61 6c 20 54 68 72 6f 6e 65 2f 54 |mmortal Throne/T| 000002e0 69 74 61 6e 2e 51 75 65 73 74 2e 49 6d 6d 6f 72 |itan.Quest.Immor| 000002f0 74 61 6c 2e 54 68 72 6f 6e 65 2d 55 6e 6c 65 61 |tal.Throne-Unlea| 00000300 73 68 65 64 2f 75 6e 6c 2d 74 71 69 74 2e 70 61 |shed/unl-tqit.pa| 00000310 72 74 31 35 2e 72 61 72 00 42 42 42 18 01 00 00 |rt15.rar.BBB....| 00000320 00 00 00 00 00 01 00 00 10 00 00 00 e9 00 00 00 |...
2006 Apr 08
4
Calling validates_inclusion_of out of default namespace
Hi, I''m trying to run the "validates_inclusion_of" method in a before_save hook, because the range is dependant on the related data. But I can''t figure out how to call it. When calling it normally, it says it can''t find it. I''ve tried several combinations like "ActiveRecord::Validations.validates_inclusion_of", but I can''t seem to
2005 Jun 30
2
Find by ID plus conditions -> ActiveRecord::RecordNotFound
Hi I''m trying to understand the AR find facilities, described here: http://api.rubyonrails.com/classes/ActiveRecord/Base.html#M000650 I have a list of ids that I want to retrieve, but have a condition that should restrict the list returned: return self.find( noteids, :conditions => [ "(private = 0 OR (private = 1 AND user_id = ?))", userid] ) According to the
2006 Feb 03
6
Go back to previous action
Hello all! I have two views (list_1 and list_2) that show a list of users in two different ways. In the views for these actions there is a link to edit a specific user properties (edit_user). That works fine, except that when I change the user I want to go back to the view that originated the request and not to the default list (list_1). Can anyone help me? Best regards, Hugo -- Posted via
2006 Jan 24
3
AJAX Preview & Edit Page Problem
I''m new to RoR and have started building my first application. I''m building an account sign-up controller and I have two questions: 1. What is the best way to pass form params between methods in my sign-up controller? The solution I''m using seems too hacky and there''s got to be a something more elegant. I''m instantiating User.new to capture the
2005 Aug 15
2
Newbie rendering problem
Hi On every list request i render an item partial through a collection of items. the item table has 3 columns namely name,anotherName and id. the item partial looks like <%@item=item%> <%= error_messages_for(:item) %> <tr id="<%=item.id%>"> <% for column in Item.content_columns %> <td><%=h item.send(column.name) %></td> <%