search for: codemart

Displaying 7 results from an estimated 7 matches for "codemart".

Did you mean: codeman
2007 Nov 20
5
Compound search / grouping
Hi, Following problem: We have a tree structure with children and a root element (recursivly) stored in one table (imagine a threaded forum). Each of the children has a title which should be indexed by ferret. Now we want to make a search that returns only the root and searches all items. So if one node has "expensive" and nother node has "car" I want to enter
2006 Jul 20
4
Help with Rails and postgres with sequence numbers (global?)
...s.id = 404) LIMIT 1 I also have to set mtime and itime manually? Is the trigger not working? Any help would be highly appriciated, as I am running out of time in my project :-( Regards Till Vollmer "Ajax mit Ruby on Rails" im iX 4/2006 von Till Vollmer. Siehe auch www.railsnet.de Codemart GmbH Till Vollmer Managing Director Tel: +49 (0)89 1213 5359 Mob: + 49 (0)160 718 7403 Fax: +49 (0)89 1892 1347 Yahoo ID: till_vollmer Skype: till_vollmer www.codemart.de till.vollmer@codemart.de -- Posted via http://www.ruby-forum.com/.
2006 Jul 26
0
HTML Emails with a layout in Action Mailer?
Hi, I am using implicit HTML and text emails (alternative). So I have some view files called mymail.text.plain.rhtml and mymail.text.html.rhtml. Now since I have a lot of mails to send I would like to use a layout for my HTML emails only. How can I do that? Regards Till Vollmer -- Posted via http://www.ruby-forum.com/.
2006 Jun 03
0
in_place_editor and erros or validations
Hello, I want to use the in_place_editor but I have validations on the model and I am not sure how to get them back to the user? I would like to show somehting right below the field if the save fails. Any clues? Till Vollmer -- Posted via http://www.ruby-forum.com/.
2006 Apr 30
1
Callbacks on has_many relation
Hello, Is there a way to implement a callback for somehting like before_add and after_ad on a statement like this with a has_many relation? x.children << Item.create(:title=>"test") I want that x has a callback that is called when the item is added. I found something in
2006 Jun 26
1
Separate Read and Write Database
Hello, I need to access an mirrored database with one read and one write cluster. Is there a way to tell a model to use two connections? So that all updates etc go to the write database and all read from the read one? This is a fixed set up I can not use MySQL 5.x stuff and additionally i get a token on write, which can be checked on read (and wait for replication) if new data is needed. I
2006 Apr 30
4
acts_as_ordered_tree
I need an ordered (sortable tree) and I just was thinking if somehting like this is possible: class Item< ActiveRecord::Base acts_as_tree :order => "position" acts_as_list :scope => ''parent_id = #{self.id}'' end For my understanding mixing of two acts_as should be p?ssible, at least in this case, right? Unfortunatly the :scope is not working, I am not