[Rails] Learning rails source : Questions related to the code

2015-11-04 Thread lionel Lioninho
Hi, sorry to disturb you. I try to learn rails by the source. In the line of code : https://github.com/trueskil/rails/blob/master/activesupport/lib/active_support/dependencies/autoload.rb#L37 do do you know what the variable 'name' is used for? Thanks in advance Regards *Lionel* -- You rece

Re: [Rails] Learning Devise for Rails

2015-06-10 Thread Walter Lee Davis
On Jun 10, 2015, at 5:58 AM, Greg Bressler wrote: > I'm new to rails and was trying to get a handle on Devise. I'm > following the Packt Pub - Learning Devise For Rails tutorial and have a > problem around pg 19-20 (CH2). I've created a user, logged out, but > when I try to login again I get

Re: [Rails] Learning Devise for Rails

2015-06-10 Thread Emmanuel Abia
If you are using Rails 4+, you need to read the Strong parameter section of the Devise github page here . On Wed, Jun 10, 2015 at 10:58 AM, Greg Bressler wrote: > I'm new to rails and was trying to get a handle on Devise. I'm > following the Packt Pub -

[Rails] Learning Devise for Rails

2015-06-10 Thread Greg Bressler
I'm new to rails and was trying to get a handle on Devise. I'm following the Packt Pub - Learning Devise For Rails tutorial and have a problem around pg 19-20 (CH2). I've created a user, logged out, but when I try to login again I get this error: NameError in Devise::SessionsController#create

Re: [Rails] Learning Rails, how to walk through relations in template?

2014-09-16 Thread Colin Law
On 16 September 2014 18:22, frocco wrote: > Hello, > > I have a products table that is related to category. > > category has many products. > > How do I query the products to also include the category? > > Once I do this, how to I show the category data in my template? There is usually no need to

Re: [Rails] Learning Rails, how to walk through relations in template?

2014-09-16 Thread frocco
Thank you, got it working. On Tuesday, September 16, 2014 1:27:27 PM UTC-4, Vivek Sampara wrote: > > Please look into this > http://apidock.com/rails/ActiveRecord/QueryMethods/includes > > On Tue, Sep 16, 2014 at 10:52 PM, frocco > > wrote: > >> Hello, >> >> I have a products table that is relat

Re: [Rails] Learning Rails, how to walk through relations in template?

2014-09-16 Thread Jason Fleetwood-Boldt
As described here http://guides.rubyonrails.org/active_record_querying.html#eager-loading-associations I think what you want is something like products = Product.includes(:category) This will eager load the category association when you load the Product objects. You must specify the inverse re

Re: [Rails] Learning Rails, how to walk through relations in template?

2014-09-16 Thread Vivek Sampara
Please look into this http://apidock.com/rails/ActiveRecord/QueryMethods/includes On Tue, Sep 16, 2014 at 10:52 PM, frocco wrote: > Hello, > > I have a products table that is related to category. > > category has many products. > > How do I query the products to also include the category? > > On

[Rails] Learning Rails, how to walk through relations in template?

2014-09-16 Thread frocco
Hello, I have a products table that is related to category. category has many products. How do I query the products to also include the category? Once I do this, how to I show the category data in my template? Thanks -- You received this message because you are subscribed to the Google Group

[Rails] Re: My Rails Learning Experience- What are your thoughts on help options?

2014-08-17 Thread Bala Paranj
> I am stuck on my first app. I find myself re-reading general documentation > for answers which is getting old. I picked up the Rails 4 Way book but > that looked a bit advanced. I have read so general stuff much that I am > forgetting basics ;-) - like how to use Ruby. > > Ruby in a Nut

Re: [Rails] My Rails Learning Experience- What are your thoughts on help options?

2014-08-16 Thread Hassan Schroeder
On Fri, Aug 15, 2014 at 1:12 PM, Sean Kelley wrote: > I wonder how to get specific help when you work alone, are self funded, and > do not have a budget for support or training. I posted a question to stack > overflow, but a few days have gone by and not usable answer yet. And yet you didn't po

[Rails] Re: My Rails Learning Experience- What are your thoughts on help options?

2014-08-16 Thread Milan Dobrota
You can either find somebody to work with you for cheaper, or invest more time in trying to figure things out. I do 1-on-1 tutoring as well, but my fees are a bit higher than what you mentioned. Milan -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subsc

Re: [Rails] My Rails Learning Experience- What are your thoughts on help options?

2014-08-15 Thread Jason Fleetwood-Boldt
On Aug 15, 2014, at 4:26 PM, Jason Fleetwood-Boldt wrote: > > My friend Darrell Silver runs this company, their approach is that you pay > them by the month a flat fee, and in exchange you get 1-on-1 tutoring and > mentoring by an expert. > I'm so sorry I meant to paste in this URL: http:

Re: [Rails] My Rails Learning Experience- What are your thoughts on help options?

2014-08-15 Thread Jason Fleetwood-Boldt
My friend Darrell Silver runs this company, their approach is that you pay them by the month a flat fee, and in exchange you get 1-on-1 tutoring and mentoring by an expert. Personally, especially when learning languages (Ruby, Javascript, etc) I find Google to be very bad at helping me learn

[Rails] My Rails Learning Experience- What are your thoughts on help options?

2014-08-15 Thread Sean Kelley
I am new to Rails. I have done the Rails Tutorial by Hartl I have done the Ruby tutorial at Code Academy , completed the the Engineering Berkeley Software as Service

Re: [Rails] Learning Ruby on Rails

2014-06-03 Thread Colin Law
On 3 June 2014 05:11, Ali Eshragi wrote: > Hi All, > > My name is Ali and I am an embedded software engineering (C, C++ on embedded > platforms), but want to learn Ruby on Rails mainly because I want to start > my own start-up and based on my research Rails is the most efficient way of > creating

[Rails] Learning Ruby on Rails

2014-06-02 Thread Ali Eshragi
Hi All, My name is Ali and I am an embedded software engineering (C, C++ on embedded platforms), but want to learn Ruby on Rails mainly because I want to start my own start-up and based on my research Rails is the most efficient way of creating web applications. So I am really happy to join t

[Rails] Learning Ruby - Don't give up

2013-11-09 Thread Lazarus Lazaridis
An article for those starting learning Ruby Learning Ruby - Don't give up -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receivin

[Rails] Learning About Symbols

2013-07-11 Thread Peter
Hi Everyone, I *kind of* get the idea of *symbols*. So I need help to understand them more fully. --- config.yml config: some_setting: 'setting_one' another_setting: - 'element1' - 'element2' So how do I ingest this: yaml = YAML.load('config.yml') Are these true or false? yaml['con

Re: [Rails] Learning ROR testing

2013-04-22 Thread tamouse mailing lists
On Apr 22, 2013 6:52 AM, "Javier Quarite" wrote: > > > On Sun, Apr 21, 2013 at 11:49 PM, tamouse mailing lists < tamouse.li...@gmail.com> wrote: >> >> The RSpec book from pragprog actually spends a bit of time discussing rails testing using both cucumber and rspec, but i would not call it definiti

Re: [Rails] Learning ROR testing

2013-04-22 Thread Javier Quarite
On Sun, Apr 21, 2013 at 11:49 PM, tamouse mailing lists < tamouse.li...@gmail.com> wrote: > The RSpec book from pragprog actually spends a bit of time discussing > rails testing using both cucumber and rspec, but i would not call it > definitive. > Have you used mini test? Do you recommend rspec

Re: [Rails] Learning ROR testing

2013-04-21 Thread tamouse mailing lists
On Apr 21, 2013 10:53 AM, "ROR User" wrote: > > Can anyone suggest an advanced resource for learning proper ROR testing? I've been writing web apps with ROR for nearly a year now but have been neglecting to write the proper test suites as I'm not sure exactly what requires a test and what doesn't

[Rails] Learning ROR testing

2013-04-21 Thread ROR User
Can anyone suggest an advanced resource for learning proper ROR testing? I've been writing web apps with ROR for nearly a year now but have been neglecting to write the proper test suites as I'm not sure exactly what requires a test and what doesn't, which leaves me fearing I'll spend twice as

[Rails] Learning Rails - Advice for development environment

2013-03-19 Thread Michael Armistead
Hello, I have been learning Rails for several weeks now. I am working through Michael Hartl's tutorial and other various things. My question is basically regarding what type of environment to do my development in. First, some background: I have used different linux distros on and off throughou

Re: [Rails] Learning basics + power?

2012-11-30 Thread Colin Law
On 29 November 2012 18:07, Walter Kyrie Pitcher wrote: > How powerful can this framework be? Very > What can you do with it? Lots > How/where do I go to learn it? The Rails Guides. railstutorial.org. The railscasts. The Rails (and Ruby) docs Google ... Colin -- You received this message b

[Rails] Learning basics + power?

2012-11-30 Thread Walter Kyrie Pitcher
How powerful can this framework be? What can you do with it? How/where do I go to learn it? -- 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 rubyonrails-talk@googlegroups.com. To unsubscribe from this

Re: [Rails] Learning RoR in 26 days: Can it be done?

2012-11-14 Thread Colin Law
On 14 November 2012 00:04, Tom Geoco wrote: > I've recently started a challenge to learn Ruby on Rails in 26 days. I'm > on day five, and I've been getting a lot of support. So I decided to > reach out to find a Rails community that would be interested in giving > me some feedback on my progress,

[Rails] Learning RoR in 26 days: Can it be done?

2012-11-13 Thread Tom Geoco
I've recently started a challenge to learn Ruby on Rails in 26 days. I'm on day five, and I've been getting a lot of support. So I decided to reach out to find a Rails community that would be interested in giving me some feedback on my progress, and this forum seems like a pretty good place to star

Re: [Rails] learning Ruby and rails

2012-02-16 Thread Noel
On Tue, Feb 14, 2012 at 4:01 PM, Jeff Kyzer wrote: > Hello > > So i am trying to learn Ruby and Rails.  My biggest problem right now > is my platform. > > Any good setup for ruby on rails for windows?  or would it just be > easier to put unix/lynics on my computer. > > My other question is about l

[Rails] learning Ruby and rails

2012-02-16 Thread Jeff Kyzer
Hello So i am trying to learn Ruby and Rails. My biggest problem right now is my platform. Any good setup for ruby on rails for windows? or would it just be easier to put unix/lynics on my computer. My other question is about learning Rails. I have a couple of books, but I am looking for a co

Re: [Rails] Learning Ruby on Rails 3.1 - deployment - Error (cs.jpg isn't precompiled)

2011-12-27 Thread Gautam Pai
Does it work without issues in production mode on your local machine? bundle exec rails s -e production Also if you are using capistrano for deployment, you need not run "bundle exec rake assets:precompile" explicitly on the production server every time. just uncomment the following line in your

[Rails] Learning Ruby on Rails 3.1 - deployment - Error (cs.jpg isn't precompiled)

2011-12-27 Thread Leonard Teo
Hi guys, I've followed the Agile Web Development with Rails book and I'm up to deployment. I started a Ubuntu 10.1 LTS server on Amazon EC2 for testing, got Apache 2, mysql, rvm, ruby 1.9.2, rails 3.1 and phusion passenger up and running as per the book. When I come to running the actual site, it

[Rails] Learning Rails creating a vocabulary website

2011-11-26 Thread Jean Frederic Plante
Hi all, I have a project I have left aside for a while, and I am looking for someone to keep me motivated in continuing this project and challenge me writing better ruby on rails code. It would be beginner/intermediate level and an opportunity for both (or more) of us to get better. The project i

Re: [Rails] [Learning] How much ruby should one know before learning Rails?

2011-09-07 Thread Norm Scherer
On 09/03/2011 10:07 PM, Naveen Kumar wrote: _This is where i stand :_ * I learnt programming on my own by learning Python ( intermediate ). * I have no programming experience. * I only know the basic programming concepts (OOPs, metaprogramming, testing etc.) in both ruby and py

Re: [Rails] [Learning] How much ruby should one know before learning Rails?

2011-09-04 Thread Chris Kottom
> > Should i learn more ruby and get more fluent with it, cos ultimately i will > be writing ruby in rails. > or > Start learning rails with my limited ruby knowledge and learn the rest by > doing. (learning by doing method). Given what you've said, I would begin by working on some basic Rails ap

[Rails] [Learning] How much ruby should one know before learning Rails?

2011-09-04 Thread Naveen Kumar
*This is where i stand :* - I learnt programming on my own by learning Python ( intermediate ). - I have no programming experience. - I only know the basic programming concepts (OOPs, metaprogramming, testing etc.) in both ruby and python. - I only wish to do web development stuff

Re: [Rails] Learning deep associations in models

2011-05-24 Thread Walter Davis
On May 24, 2011, at 6:06 AM, Wael Nasreddine wrote: Hello, I'm a web developer comping from Zend Framework and I'm trying to learn Rails the right way and avoid Bad Practice from the start. I have a few questions in my head that I'm unable to get answered on my own, so I'm going to try

[Rails] Learning deep associations in models

2011-05-24 Thread Wael Nasreddine
Hello, I'm a web developer comping from Zend Framework and I'm trying to learn Rails the right way and avoid Bad Practice from the start. I have a few questions in my head that I'm unable to get answered on my own, so I'm going to try and get it explained with an example. Let's say I'm building

[Rails] Learning Rails wth tutorial - can't pust to Heroku

2011-01-14 Thread Mike Glozman
Trying to learn ROR with the railstutorial.org, and i'm trying to push to Heroku and getting the following error: # git push heroku master Counting objects: 85, done. Delta compression using up to 2 threads. Compressing objects: 100% (68/68), done. Writing objects: 100% (85/85), 87.95 KiB, done. T

[Rails] Learning by example

2010-10-15 Thread Gady Sujo
Hi, I want to get into rails. i learn the best by seeing a built app and watching how it was written. where can i find typical open source rails project that i can download and learn from ? i'm interested in facebook connect integration tag clouds, searching in my website Thanks! -- Posted via h

Re: [Rails] Learning RoR

2010-06-16 Thread Juan Pablo Genovese
If you are new to Ruby too, don't forget to take a look at "The Well Grounded Rubyist". It's an awesome book. 2010/6/15 Ryan Kneer > Hey. I'm just getting into RoR and was hoping someone could direct me > to the best learning resources. > > P.S.: I took a couple computer sciences courses in uni

Re: [Rails] Learning RoR

2010-06-16 Thread DK
Try the book Agile Web Development with Rails. If you go through the tutorial you will have a foundation. On 6/15/10, Ryan Kneer wrote: > Hey. I'm just getting into RoR and was hoping someone could direct me > to the best learning resources. > > P.S.: I took a couple computer sciences courses in

Re: [Rails] Learning RoR

2010-06-16 Thread Ivan Nastyukhin
http://guides.rubyonrails.com/ hi, its will be help u) Ivan Nastyukhin dieinz...@me.com On Jun 16, 2010, at 3:13 AM, Ryan Kneer wrote: > Hey. I'm just getting into RoR and was hoping someone could direct me > to the best learning resources. > > P.S.: I took a couple computer sciences cours

[Rails] Learning RoR

2010-06-16 Thread Ryan Kneer
Hey. I'm just getting into RoR and was hoping someone could direct me to the best learning resources. P.S.: I took a couple computer sciences courses in university (learned some Java and C++). Cheers, Ryan -- You received this message because you are subscribed to the Google Groups "Ruby on R

[Rails] Learning Rails

2010-01-30 Thread Rong
Since we are so close to Rails 3 should I wait for Rails 3 to dive in and start learning or should I start now with 2.3.5? -- 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 rubyonrails-t...@googlegroups.

[Rails] Learning Rails+ExtJS from scratch: what to start with?

2009-12-23 Thread lolmaus
Hi! I decided to start learning to develop rich internet applicatons little by little. I mean applicatons that copy desktop-like interface, not jquery/prototype-powered websites. After a lot of thought and googling i came to ExtJS. It appeared to be THE frontend for my purpose: popular, full-feat

[Rails] Learning to work with HTTP using RoR

2009-10-27 Thread J
im trying to learn how to handle http here is the scenario: www.mysite.com performs an HTTParty.post to www.2ndsite.com www.2ndsite.com processes the data www.2ndsite.com will post back to www.mysite.com the resulting data here are the questions that i have: is there any difference in the way to

[Rails] Learning ruby on Mac - rake create error

2009-09-07 Thread Kathy Koehler
I can do a mysql -u root and then type in create database restaurant_test, development, production but when I run rake db:create:all I get: (in /Users/katherinekoehler/Documents/workspace/kkoehler/classes/ruby/lesson5/restaurant) Couldn't create database for {"socket"=>"/tmp/mysql.sock", "reconn

[Rails] Learning

2009-08-31 Thread Prashu
I am working in cleartrip.com on ruy on rails ,so what are things i want to learn to become good developer on Ruby on Rails --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to thi

[Rails] Learning some best DB practices

2009-07-31 Thread Andrew Pace
I am completely new to rails, and I have a very useful way of dealing with database structures from my background in php. I don't want to be one of those who brings bad habits into rails...so I am curious if my practices below violate rails' best practices. (SQL is below, but I try to explain he

[Rails] Learning Rails 1st Edition - Form Builders - Confuzzled

2009-06-07 Thread Rilindo Foster
Hi! Rails newbie here - so far, loving it. Going through the Learnings Rails book and the for the most part, I am learning quite a bit (in spite of the errata). I did see something odd. On 8.2.2, when I invoke the following private method: def text_field(method, options={}) label_for(

[Rails] Learning Rails

2009-01-05 Thread Matt Osbun
I picked up a Rails book on a whim over my Christmas vacation, and started playing around. I've been a web developer for closing in on ten years now, and while I've used a few different platforms and languages, I've always been curious about Ruby on Rails- especially after I .NET developer I used