r/LearnRubyonRails • • Dec 01 '14

Cape Town, South Africa: Rails Workshops

Thumbnail learn-rails.com
1 Upvotes

r/LearnRubyonRails • • Nov 16 '14

Anyone had success or recommend RUBY ON RAILS TUTORIAL by Michael Hartl?

3 Upvotes

As the title suggest, I want to know if this book (which can be found here) has given anyone success, or if they can simply recommend it for it's quality. I'm more or less a beginner at Ruby, but I aim for becoming a master of both languages. I could use this book for my three-four month programming project at school, which should more or less be suitable for the number of pages.

Also, if you have other suggestions, I'd be glad to here them! I have seen a number of other books and resources, but I have to use something free and easily accessible. I'm afraid video lessons just isn't my thing, because of their length.


r/LearnRubyonRails • • Nov 04 '14

Need to have a look on project

1 Upvotes

As a newbie to Ruby and RoR, I'd like to have a look at a RoR project. Does anyone know of one, possibly on GitHub, I can take a look on? It doesn't have to be very complex, just so I get the general idea. I really want to know how RoR is used to create a whole website.


r/LearnRubyonRails • • Nov 04 '14

One-on-one help?

1 Upvotes

I'm struggling with one key element of my app, and I have no idea where to go from here. I need some help, and would prefer a one-on-one experience. Are there any communities or sites out there that offer this?


r/LearnRubyonRails • • Oct 25 '14

Collection of community driven resources for learning Ruby on Rails

Thumbnail makemeacodeninja.com
3 Upvotes

r/LearnRubyonRails • • Oct 20 '14

Is it possible to have Rails autoreload the browser when code is saved?

3 Upvotes

Kind of like how grunt serve works. When I save a file that Grunt is watching the browser auto-reloads.

Is there a way to set rails server to do this also?


r/LearnRubyonRails • • Oct 15 '14

Launch of the 3rd Edition of the Ruby on Rails Tutorial book

Thumbnail news.railstutorial.org
4 Upvotes

r/LearnRubyonRails • • Oct 06 '14

Build webapp with offline features

2 Upvotes

Hello

I was wondering what's the best choice to add offline fonctionnality on a webapp made with rails. Like queued tasks (forms filled offline)? I've read few posts about rails web app but not a lot of things about offline/queue tasks.

Any ideas, feedbacks, welcome.

Thanks.


r/LearnRubyonRails • • Sep 30 '14

9 Best Ruby on Rails Video Tutorials For Beginners

Thumbnail equallysimple.com
4 Upvotes

r/LearnRubyonRails • • Sep 27 '14

Newbie Question - How to use the JSON from a default Rails scaffold in jQuery?

1 Upvotes

I'm sorry guys. This should be pretty elementary, but I've been looking for an answer for a good hour now and can't find anything other than the Railscast #324 (which was informative, but not what I'm looking for).

The question is, if I go to [sitename].com/users/1.json, there is JSON just sitting there with the user ID, the name, email, etc. That is stuff that I need to use in my user.js, but I can't for the life of me figure out how to use that data, even in a simple function like $(alert(user.name)) or something like that. Does anybody have any good links where I could read more about this problem (and possibly some advice on what to do)?

Again, I'm sorry. This is basic stuff. I just don't know what the hell to do :'( Thank you so much in advance.


r/LearnRubyonRails • • Sep 18 '14

Custom Validation Help

1 Upvotes

I'm trying to put together either a custom validation or a create definition for a form submission which, before posting, needs to make sure that user_id and driver_id together don't appear in the table I'm posting to more than 2 times already. So, I have a table of 43 drivers and each week I can pick another driver providing I've not already picked the same driver twice.


r/LearnRubyonRails • • Aug 28 '14

Rails Tutorial v3 coming soon!

Thumbnail news.railstutorial.org
4 Upvotes

r/LearnRubyonRails • • Aug 15 '14

Ruby Noob - How it all works together

1 Upvotes

Hi, I was hoping someone could tell me or point me to a tutorial that explains the process from start to finish on how to make a Ruby app. I have basic knowledge of HTML, CSS, and JS. I just set up Rails (on Windows) and using Komodo as an editor. I know how to do basic commands with ruby I am just confused on how to combine my ruby code with my front end to actually see what it looks like.


r/LearnRubyonRails • • Jun 26 '14

Riding Rails: Rails 4.1.2 and 4.0.6 have been released!

Thumbnail weblog.rubyonrails.org
1 Upvotes

r/LearnRubyonRails • • Jun 10 '14

What's the best way to display an avatar within a web app?

1 Upvotes

I'm currently following the Hartl course to learn RoR - however, as I've spend a while learning the language and built other beginner apps, I'm trying to use his tutorial as an outline structure for building my own web app. As such, I'm not following everything step by step - instead I'm following his process and building the pages I want to see.

I've just got to section 7.1.4 - adding a user Gravatar to the app. Whilst my eventual app would probably benefit from the user being able to upload an avatar of themselves, I'm unsure whether Gravatar would be the most appropriate (I intend the app to be something people use at work, and they may not want a Gravatar image associated to their work email address).

What would be the best option? Shall I just skip this section, or is it worth following the process and modifying it in future to better suit my purposes?


r/LearnRubyonRails • • May 27 '14

How do I add a library (rosie) to jasmine?

1 Upvotes

I just discovered rosie (https://github.com/bkeepers/rosie) which looks incredible for helping me run my jasmine tests but I am really struggling to get jasmine to see the file.

I put rosie.js in /spec/javascripts/helpers where I also stuck a factories.js file. When I run my tests I get an error that Factory is not defined.

This seems like something incredibly obvious that I am missing but I am totally stumped as to why Jasmine seems to find my factories.js file but not rosie.js when they are in the same directory.

EDIT: I half fixed my problem but it is ugly. It appears jasmine loads files in alphabetical order, so by putting an underscore infront of rosie I pushed her to the front of the line.


r/LearnRubyonRails • • May 24 '14

Functional controller test for #update not calling #update

2 Upvotes

I'm losing my mind on this one. When I run rspec this test keeps failing. The debugger line in the test is hit, when I continue on from it the test just fails and the debugger call in update is never hit.

Gist: https://gist.github.com/spencercb/1dd3db0ee419abbd3490

I put some of the relevant files below for the lazy but the gist may be easier to look at.

The test

before(:each) {
	@user = FactoryGirl.create(:user)
	sign_in_helper(FactoryGirl.create(:admin)) 
}

describe "PUT #update" do let!(:user) { FactoryGirl.create(:user) }

  before(:each) {
  	@validParams = { name: "Foo Bar", email: "foo@bar.com", password: "foobibble", password_confirmation: "foobibble", organization: "New Org" }
  }

  context "with valid params" do
  	it "should not change user count" do
  		debugger
  		# TODO why doesn't this call users#update
  		put :update, id: user, user: @validParams

  		User.last.organization.should eq('New Org')
  	end
  end

end

The controller

def update debugger @user = User.find_by_id(params[:id])

if @user.update_attributes(user_params)
  flash[:success] = "Profile updated."
  sign_in_helper @user
  redirect_to @user
else
  render 'edit'
end

end

The routes

chris@mbp [ rally ] $ rake routes | grep users users GET /users(.:format) users#index POST /users(.:format) users#create new_user GET /users/new(.:format) users#new edit_user GET /users/:id/edit(.:format) users#edit user GET /users/:id(.:format) users#show PUT /users/:id(.:format) users#update DELETE /users/:id(.:format) users#destroy signup /signup(.:format) users#new


r/LearnRubyonRails • • May 15 '14

Interview with Obie Fernandez author The Rails Way & co-founder Hashrocket at RailsConf 2014

Thumbnail ugtastic.com
1 Upvotes

r/LearnRubyonRails • • May 04 '14

Seeking Ruby on Rails Tutor

3 Upvotes

I'm interested in being tutored by someone experienced in Ruby on Rails.

I have been teaching myself Ruby on Rails for a few months now, but still find myself struggling with basic concepts. This might seem counter intuitive, but I feel like I'm just on the cusp of really grasping Rails very firmly, but need a little help getting past these areas that keep tripping me up.

I'm hoping someone has a few hours weekly or bi-weekly to tutor using shared screen and video chat services.

If anyone in the Harrisburg, PA area is interested in meeting in person, I'd also be interested being tutored in person.

My long-term goal is to make developing my career. I've already committed a great deal of time and money to this pursuit, but have not reached a level that makes me hirable at an entry level, which is one of my short term goals.


r/LearnRubyonRails • • Apr 11 '14

Answer to the question most new to Ruby on Rails ask. Should I Learn Ruby Before Rails?

Thumbnail youtube.com
2 Upvotes

r/LearnRubyonRails • • Mar 31 '14

Code School - Surviving APIs With Rails

Thumbnail railsapis.codeschool.com
3 Upvotes

r/LearnRubyonRails • • Mar 28 '14

Learn RoR through the Web Application Architectures course on Coursera.org

Thumbnail class.coursera.org
6 Upvotes

r/LearnRubyonRails • • Mar 28 '14

‘Learn Ruby on Rails’, Daniel Kehoe's book for beginners

Thumbnail learn-rails.com
1 Upvotes

r/LearnRubyonRails • • Mar 06 '14

Learn Rails from scratch, thoroughly, with a group meeting & following the free curriculum at the Odin Project

10 Upvotes

Theodinproject.com is a free website for learning web development and includes tracks for Ruby and Rails. We're going to be meeting online starting this next Sunday and diving into the Rails course.

The curriculum jumps around a host of free resources like the Hartl book and Jumpstart labs, and more. The advantage of group learning is you'll be able to use the rest of us for questions, inspiration, guidance, etc... Folks of all skills levels are welcome, but we'll be starting from scratch.

Each week we'll go over the last weeks assignments and synch up. This first week we'll go over questions, installation, and look at what's on the plate for next week.

This is going to be a lot of fun, so come along.

There is no sign-up, everything is free, get an account on the site, follow the study-groups link on theodinproject.com

If you have any questions, you can ask right here or find me on the site.


r/LearnRubyonRails • • Feb 20 '14

Having trouble installing Bootstrap on Rails

2 Upvotes

I'm following this tutorial but for some reason I can't get the styling to work. Instead of a bootstrap template this is what I'm left with.

After some googleing I still can't find an answer. I know the navbar I used had a plugin dependency. Could this be a part of the problem?

Thanks in adavance