Ruby on Rails Wednesday, July 1, 2015

Hi Fred,

Ok - is me, the same guy as the prev email (on this thread) Ok. Somehow
it won't take my Google Login anymore - so had to create a new one.

Ok trying the bundle update here. And it seems to be doing something.
Will keep you informed.

Any article or such youc an point me to? Unfortunately I'm not the
programmer - that guy's left and gone and this is a legacy app I have to
pport. I'm a Support Kinda guy :-( So anything that could be useful for
me? links etc. Appreciate it.

And later, once it's done and running - we'll get some programmer to
check/extend/de-bug it for future work....

Thanx again. Appreciated.

Goan.

Frederick Cheung wrote in post #1175881:
> On Tuesday, June 30, 2015 at 10:07:43 AM UTC+1, Rails Goa wrote:
>>
>>
> Rails.application exists only in rails 3 & above and from the log you
> appear to be running rails 2.3.15. At a guess you've a gem installed
> that
> requires rails 3 (or possibly rails 4). If you had run `bundle update`
> and
> some of your version constraints were quite loose then that might
> explain
> it.
>
> Fred

--
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 unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/5f1deaa37e253d9d7fa44c95959c65d0%40ruby-forum.com.
For more options, visit https://groups.google.com/d/optout.

Ruby on Rails

Mirraw India's largest ethnic store – www.mirraw.com

With over 1 lac listed products, 3 million and counting customers worldwide, our mission is to bring the world's best ethnic designs to your doorstep. Based out of Fort, Mumbai, Mirraw brings handpicked designs in ethnic jewellery, apparels, accessories & more.

Founded by Shailesh Jain &Anup Nair in 2011, our products make our customers look incredible. With a great fan following in India, US & Europe, Mirraw is focused on ethnic wear and has plans to dominate this space in the coming years.



Software Developer:

Experience: 1- 8 years relevant required

Job Role:

·         Technology Ruby on Rails

·         Comfortable with Git version control system

·         Start up mentality, high willingness to learn and hardworking.

·         Able to write well structured and documented code that's easily maintainable

Skills:

·         Backend Scripting experience in Ruby/PHP/Python/PERL. Our platform is based on Ruby but we believe a skilled developer can easily adopt a new language.

·         Worked on at least 1 professional web project in an agile environment - Mandatory.

·         Comfortable with Git version control system.

·         Proficiency in HTML, CSS and JavaScript libraries (jquery).

·         Experience in working with libraries like Devise, CanCan and Delayed Job.

·         Startup mentality, high willingness to learn and hardworking.

·         Able to write well structured and documented code that's easily maintainable

·         Knowledge of OOP, MVC.

 


Company located in – Ballard Estate, located near the CST station.

Come join the revolution – For details contact – ashwini@mirraw.com or Call – 9819348863




Consumer Advisory:
In the interest of ensuring safe online purchases with Mirraw.com, kindly follow the below guidelines for any payment transfers.  
1. Mirraw uses the @mirraw.com domain and the @mirraw.freshdesk.com for all outbound communication. Please do not interact with individuals with personal email ids as part of Mirraw.  
2.  Below are the authorized modes of payment 
a. CCAvenue payment gateway transfers 
b. Paypal payment to anup.nair@mirraw.com
c. Bank transfers to beneficiary Mirraw Online Services Private Limited. 
d. Cash collection services by Delhivery Team with authorized identity proof. 

Please do not transfer payments to any individual bank account or individuals using any other form of payment.  

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/f5e1b700-328c-4862-9cf1-b8c22fbb28fe%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Ruby on Rails



On Tuesday, June 30, 2015 at 4:46:40 PM UTC+1, Federicko wrote:

Yes but I also call those method from the Class method rank and it needs to save.

This is always my dilemma, just exactly what or how much code should go into controller and model?
Like in my example, before when I had everything in the controller, people suggested that I put that code in the model.
So I did. But now, people are suggesting I take some code back out to the controller.

So exactly which part should go into the controller and which part belongs to the model?

Having said that, I do agree the self.save should be in the controller but this will break my self.rank Class method. Arrrgh!


To be completely honest, it's almost worth doing it the wrong way - until you've done it wrong (and suffered the eventual consequences) it probably does sounds like a conflicting  bunch of edicts handed down from on high. Unfortunately it sometimes takes a while for the wrongness to become apparent, and it's not always easy to spot what is hard because you're just new to it and it's normal versus what you've made hard for yourself from a poor design decision,

I think I'm basically saying that this will come with experience and don't sweat it too much to begin with. Breaking up the rank method so that the save is separate from the actual modification sounds like a bad idea though (as Colin has said)

Fred

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/d4c13e64-ac3b-4007-a7e3-f13b397a2d55%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.