search for: milist

Displaying 13 results from an estimated 13 matches for "milist".

Did you mean: ilist
2006 Jan 04
1
[SOLVED] Am I going too far or Rails is just confusing?
On 1/4/06, John Indra <ji.milist@gmail.com> wrote: > However, it doesn''t work for me. Following your article, I change my I have found the source of the problem. I follow the solution provided by http://blog.teksol.info/articles/2006/01/03/belongs_to-user-interface-take-ii It''s a nice solution, however it...
2006 May 03
5
Finding the rhyme for has_many :through
Hi all, I am NOT a person with English as my mother language and I haven''t been programming long enough to be natural in these kind of things. And if that isn''t bad enough, I am a newbie on Rails too... So please enligthen. I am trying to build a simple tool for my shop. I have many products that I sell in my shop and of course I have many suppliers for the products. Thus
2003 Jul 11
2
Join linux to win Nt pdc
dear milist i'm newbie , i try to join my linux box to win nt pdc , i try follow documention in samba.org but still not working here the conditional of my server . server win nt PDC = 192.168.0.1 linux workstation = 192.168.0.10( linux mandrake 9.1+ samba ) in win nt PDc have been add win nt workstatio...
2004 Jul 12
0
Please help... classical problem
Hello all.. i''m a newbie in LARTC... And I reallize that my problem is a clasical problem in this LARTC milist..... So if anyone dont mind.. please help me with this... Situation : LAN --> Gateway <-- Internet 10.0.0.0/8 --> eth0 eth1<-- 20.0.0.0/8 Linux Box: RedHat 8.0 /sbin/tc size is +- 700 kb #NAT to all computer to access the internet...
2006 Jan 03
6
Am I going too far or Rails is just confusing? was {validates_presence_of *_id attributes}
Thanks for the input Blair Zajac and Chris (Nolan and Hall), and for others. If all of you have time, please follow this (the question still relates to the previous posts by me): I have provided full steps to reproduce the symptoms. If it matters, I''m running Ruby 1.8.2, Rails 1.0, and MySQL 5.0.15 on Windows XP Professional. 1. First, the setup MySQL ----- create database testdb;
2006 Jan 03
4
validates_presence_of *_id attributes
Hi all, I am a newbie to Rails. Please enlighten me on how to do this appropriately, the Rails and the Ruby way: Suppose I have a Recipe model. Let''s simplify things and pretend that it has only 2 attributes, a :name and the other is a ''category_id''. In the recipes table, category_id is a foreign key to field id of table categories. We also assume that I have generate
2006 Aug 18
0
AJAX question
Dear all, Help me get a simple AJAX behavior right. I know zero AJAX, thus please advice. Below is a simplification of the real code and I hope I can describe my intention clearly. class StoreController < ApplicationController def show_cart @cart = Cart.new @new_item = CartItem.new end def add_item @new_item = CartItem.new(params[:new_item]) if
2006 Aug 18
0
Simple AJAX question
Dear all, Help me get a simple AJAX behavior right. I know zero AJAX, thus please advice. Below is a simplification of the real code and I hope I can describe my intention clearly. class StoreController < ApplicationController def show_cart @cart = Cart.new @new_item = CartItem.new end def add_item @new_item = CartItem.new(params[:new_item]) if @new_item.valid?
2006 Jul 04
0
[OT] TextMate snippet is not working
Sorry for the OT. Since I know that in this mailing list there are people that use TextMate heavily, I''ll try asking here first. I downloaded TextMate 1.5.2. Installed it on Mac OS X 10.4.6 running on a MacBook Pro. I recalled that I could do a Command+Option+Shift +Down in an action and TextMate will show a context menu that let me jump to the view, functional test, etc. A day
2006 Jul 16
3
Binding text_field et al to object.attribute.name
Hi all, Suppose I have a PurchaseItem model which refers to Product model... class Product < ActiveRecord::Base has_many :purchase_items end class PurchaseItem < ActiveRecord::Base belongs_to :product end To keep things simple, one of the attribute of the Product model is title. On the interface, I have a textfield that I need to bind with @purchase_item.product.title.
2006 May 25
3
Name of action inside template
Hi all, How do I know the name of the action currently invoked inside RHTML template? I need to make a text_field readonly when the action is ''edit'' and readwrite when the action is ''new''. Tq, John
2006 Jan 13
0
Form element that is not an AR object attribute
Fellow Railers, I don''t know how to handle this kind of situation the Rails way, please help. DB ---- create table products (id int not null auto_increment, name varchar(255), primary key (id)); create table batches (id int not null auto_increment, product_id int not null, quantity int not null, price decimal(10,2) not null, primary key (id), foreign key (product_id) references
2006 Sep 05
1
Finding what methods talk to the DB!
Hi all, I am now working on performance tuning. I am still a newbie thus I am not talking about "full blown performance tuning". What I do now is just tracking my development.log to find whether I accidentally make redundant queries because of my misunderstanding of ActiveRecord, redundant AJAX calls, or logical mistakes. The questions: 1. From what I understand the standard log_level