On 23 September 2011 12:54, Nikhil Goyal <[email protected]> wrote:
Please don't top post it makes it difficult to follow the thread. Insert your reply at appropriate points in the previous message. Thanks. > I'm not really a expert. Advanced begineer you can say. > > I'll elaborate a bit. > > 1. Generate referral URL's > > A user signs up and user is given a referral URL e.g. www.mysite.com/435 > , where 435 is the refer ID. This URL can be shared by the user. You are talking about referrals so possibly you want a Referral model. Then the /435 above is the referral id and the url will go to the show for that referral. > > 2. Tracking referral URL's > > Now I want to be able to track how many people have clicked no > www.mysite.com/435 and how many have signed up using a particular > referral URL Possibly increment a column in the referral object each time someone goes there and a different one if they sign up using it. > > I want some suggestions regarding how do I construct my model and > controllers. > > On Sep 23, 1:14 pm, Colin Law <[email protected]> wrote: >> On 22 September 2011 19:32, Nikhil Goyal <[email protected]> wrote: >> >> > Here are two things that need to be done. >> >> > 1. Generate Referreal URL's for users. >> > -- people will signup and a referral URL will be generated for them, >> > which they can share >> >> > 2. Track those referral URL's >> > -- I will have to track performance of each referral URL >> >> > How can go about doing this using Rails 3.1 >> >> I think the reason that you have had no replies is that your question >> is much to general and vague. >> >> Can I ask how much experience you have with Rails? If you are a >> beginner and have not yet done so then I suggest that you work through >> some detailed tutorials to get a grasp of the variety of features >> availble. I don't just mean skim through but work right through >> making sure you understand everything. Then you should be able to >> answer most questions yourself. railstutorial.org is good and free to >> use online. >> >> If you are not a beginner then try and explain in more detail what you >> are trying to do, and explain the bits of it that you are having >> difficulty working out how to implement. However it is best to try >> and keep to just one question per thread as otherwise it all gets >> confusing. So sit down, work out what you want to do and pull out the >> key question that you need help with. >> >> Colin > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > > -- gplus.to/clanlaw -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

