[Rails] Re: Strategy for Handling Separate Shipping and Billing Addresses

2009-11-24 Thread bui
Hi Philip - Thanks for responding. Yeah, I thought about what happens when they go to change an old address. Not sure how to handle it at this point. I did find a plugin written by Ryan Bates that at least handled "freezing" an association. http://github.com/ryanb/association-freezer/blob/4691b

[Rails] Re: Strategy for Handling Separate Shipping and Billing Addresses

2009-11-24 Thread bui
Rick, thanks for responding. I appreciate the help. I wasn't familiar with scoping but after re On Nov 21, 4:27 pm, Rick DeNatale wrote: > On Sat, Nov 21, 2009 at 4:09 AM, bui wrote: > > Hi -  Very new to RoR.  I have looked around at different strategies > > for h

[Rails] Strategy for Handling Separate Shipping and Billing Addresses

2009-11-21 Thread bui
Hi - Very new to RoR. I have looked around at different strategies for handling shipping and billing addresses for an e-commerce applications. What I am trying to do is to have a user registration form where the user need to also fill out the default shipping address. Ultimately, I would like f

[Rails] Re: Authlogic - Render Partial

2009-09-25 Thread bui
sion.new end - Changed view for "home" controller (i.e. - index.html.erb) as follows: <%= render :partial => "user_sessions/user_session", :locals => { :user_session => @user_session } %> This seems to work. Thanks for pointing me in the right direction. On Sep 25,

[Rails] Re: Authlogic - Render Partial

2009-09-25 Thread bui
new > > Paul > > On Sep 25, 6:54 am, bui wrote: > > > The controller is the "home" controller and looks like this (very > > basic): > > > class HomeController < ApplicationController > >   def index > >   end > > end > >

[Rails] Re: Authlogic - Render Partial

2009-09-24 Thread bui
ject_user_session' c:/wwwroot/ror/mysite/app/views/home/index.html.erb:4:in `_run_erb_app47views47home47index46html46erb' By the way, thanks for responding to my post. On Sep 24, 4:01 pm, pharrington wrote: > On Sep 24, 3:06 pm, bui wrote: > > > > > New to Rails.  Using Authlogic for authenticat

[Rails] Authlogic - Render Partial

2009-09-24 Thread bui
New to Rails. Using Authlogic for authentication and went through tutorial at github. Having a bit of a problem getting the login screen to render as a partial from a different view file. I have a index.html.erb view file for the "home" controller. I tried <%= render :partial => "user_sessions

[Rails] Re: How to draw a large chart?

2008-12-14 Thread Khiet Bui
Khiet Bui wrote: > Thanks, man! I will try it. > > If it is okie, i will feedback :) But, how to draw a horizontal bar chart on gnuplot? -- Posted via http://www.ruby-forum.com/. --~--~-~--~~~---~--~~ You received this message because you are subscrib

[Rails] Re: How to draw a large chart?

2008-12-14 Thread Khiet Bui
Thanks, man! I will try it. If it is okie, i will feedback :) -- Posted via http://www.ruby-forum.com/. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email

[Rails] How to draw a large chart?

2008-12-11 Thread Khiet Bui
I am meeting a big problem with charts. I have to display a horizontal bar chart with ~3000 bars in ~5s. Assume the input data are ready in the needed format. I have tested open flash chart, gruff, scruffy... They all failed. With 1000 bars, open flash chart took 15-20s. Gruff and scruffy were w