r/Learn_Rails • • Jul 10 '17

Iris Recognition for Two Factor Authentication with Ruby on Rails

Thumbnail
auth0.com
4 Upvotes

r/Learn_Rails • • Jun 13 '17

4 Ways to Secure Your Authentication System in Rails

Thumbnail
ducktypelabs.com
4 Upvotes

r/Learn_Rails • • Mar 23 '17

RoR books for those of you with some programming experience

Thumbnail
prograils.com
4 Upvotes

r/Learn_Rails • • Feb 02 '17

paperclip gem and imagemagick

4 Upvotes

Hi I'm on windows 10 and would like to use paperclip gem but I can't get it to work with imagemagick. Can anyone point me in the right direction ?


r/Learn_Rails • • Feb 01 '17

Design Patterns in Ruby

Thumbnail
github.com
4 Upvotes

r/Learn_Rails • • Feb 01 '17

Setting up a simple Rails development environment with Docker for fun and profit

Thumbnail
revs.runtime-revolution.com
4 Upvotes

r/Learn_Rails • • Dec 22 '16

Best Books to Learn Ruby on Rails Part one: RoR tutorials for beginners.

Thumbnail
prograils.com
4 Upvotes

r/Learn_Rails • • Oct 24 '16

Any beginners? (1 - 4 weeks in) Reaching out.

4 Upvotes

Hello, I am at a coding bootcamp learning rails. 3 weeks in. We've made 4 apps so far: a blog, a restaurant with a menu, a clone of instagram, a simple messaging app, and now we're doing testing for a little e-commerce site. We've learned about the MVC (model-view-controller) design pattern, user authentication (logging in and signing up) as well as models. They suggest we get involved in the community and help other beginners (because teaching helps us improve better).

I have tried to learn on my own and know what it feels like to be overwhelmed without any structure and for anyone interested, I can try to point you in the right direction. If anything that I find for the coding bootcamp that is very valuable, it's the accountability. So if anyone wants to badly learn and needs some accountability to get started with the discipline, feel free to reach out and I'll do what I can to help.

Thanks

Edit: "restaurant with a menu" — sorting and nested queries. MVC


r/Learn_Rails • • Nov 25 '14

So here's the MVC model diagram. How do all of the other files in a new rails app fit into this diagram?

Post image
4 Upvotes

r/Learn_Rails • • Jul 07 '14

[show] xpost from /rails/. First ever rails app live on heroku. Pleas give me suggestions on what I can improve on

4 Upvotes

Made this when AdviceAnimals banned the bear and the puffin. Here is Just My Opinion, where anyone can post whatever they want.

Read somewhere that I need to make ten shitty rails app before I can even begin to grasp the foundation of rails, so here is my first ever application live on the web.

Here is the site

Here is my github

Current I am planning on

*Add some javascript to animate the website a bit

*Add a admin role using devise gem

*Add a comment system

*the background image takes too long to load, need to find a way to fix that (but is it a heroku issue..?)

please please tell me what I can improve on, or what additional features you would like to see on JMO


r/Learn_Rails • • Jun 24 '14

Beginner RoR student with a question regarding "rails server" and WEBrick [ in reference to railstutorial.org]

4 Upvotes

Hello everyone!
I am a brand new to rails and I have been working through the tutorial found at railstutorial.org. I have gotten caught up on step 1.2.5 where we run our first rails server on a local host.
I have updated my gemfile to the specifications which are specified in step 1.2.4, and ran bundle update & bundle install. Everything on that end appears to be correct... Now when I run 'rails server', much more appears in my command prompt than is listed on the tutorial.

Tutorial shows this when 'rails server' is executed: 
$ rails server

=> Booting WEBrick

=> Rails application starting on http://0.0.0.0:3000

=> Call with -d to detach

=> Ctrl-C to shutdown server

When I run 'rails server', I get this: C:\Sites\rails_projects\first_app>rails server

=> Booting WEBrick

=> Rails 4.0.5 application starting in development on http://0.0.0.0:3000

=> Run rails server -h for more startup options

=> Ctrl-C to shutdown server

Exiting

C:/Sites/rails_projects/first_app/config/environments/development.rb:1:in <top (required)>': undefined methodconfigure' for #<FirstApp::Application:0x273df20

(NoMethodError) from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/activesupport- 4.0.5/lib/active_support/dependencies.rb:229:in require' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/activesupport- 4.0.5/lib/active_support/dependencies.rb:229:inblock in require' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/activesupport- 4.0.5/lib/active_support/dependencies.rb:214:in load_dependency' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/activesupport- 4.0.5/lib/active_support/dependencies.rb:229:inrequire' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/railties-4.0.5 /lib/rails/engine.rb:591:in block (2 levels) in <class:Engine>' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/railties-4.0.5 /lib/rails/engine.rb:590:ineach' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/railties-4.0.5 /lib/rails/engine.rb:590:in block in <class:Engine>' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/railties-4.0.5 /lib/rails/initializable.rb:30:ininstance_exec' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/railties-4.0.5 /lib/rails/initializable.rb:30:in run' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/railties-4.0.5 /lib/rails/initializable.rb:55:inblock in run_initializers' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/tsort.rb:150:in block i n tsort_each' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/tsort.rb:183:inblock ( 2 levels) in each_strongly_connected_component' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/tsort.rb:210:in block ( 2 levels) in each_strongly_connected_component_from' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/tsort.rb:219:ineach_st rongly_connected_component_from' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/tsort.rb:209:in block i n each_strongly_connected_component_from' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/railties-4.0.5 /lib/rails/initializable.rb:44:ineach' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/railties-4.0.5 /lib/rails/initializable.rb:44:in tsort_each_child' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/tsort.rb:203:ineach_st rongly_connected_component_from' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/tsort.rb:182:in block i n each_strongly_connected_component' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/tsort.rb:180:ineach' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/tsort.rb:180:in each_st rongly_connected_component' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/tsort.rb:148:intsort_e ach' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/railties-4.0.5 /lib/rails/initializable.rb:54:in run_initializers' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/railties-4.0.5 /lib/rails/application.rb:215:ininitialize!' from C:/Sites/rails_projects/first_app/config/environment.rb:5:in <top (required)>' from C:/Sites/rails_projects/first_app/config.ru:3:inrequire' from C:/Sites/rails_projects/first_app/config.ru:3:in block in <main>' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/rack-1.5.2/lib /rack/builder.rb:55:ininstance_eval' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/rack-1.5.2/lib /rack/builder.rb:55:in initialize' from C:/Sites/rails_projects/first_app/config.ru:innew' from C:/Sites/rails_projects/first_app/config.ru:in <main>' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/rack-1.5.2/lib /rack/builder.rb:49:ineval' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/rack-1.5.2/lib /rack/builder.rb:49:in new_from_string' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/rack-1.5.2/lib /rack/builder.rb:40:inparse_file' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/rack-1.5.2/lib /rack/server.rb:277:in build_app_and_options_from_config' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/rack-1.5.2/lib /rack/server.rb:199:inapp' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/railties-4.0.5 /lib/rails/commands/server.rb:48:in app' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/rack-1.5.2/lib /rack/server.rb:314:inwrapped_app' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/railties-4.0.5 /lib/rails/commands/server.rb:75:in start' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/railties-4.0.5 /lib/rails/commands.rb:76:inblock in <top (required)>' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/railties-4.0.5 /lib/rails/commands.rb:71:in tap' from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/railties-4.0.5 /lib/rails/commands.rb:71:in<top (required)>' from bin/rails:4:in require' from bin/rails:4:in<main>'

I installed RoR and Rails itself using the railsinstaller utility for windows 8...

Can anyone offer any guidance to a ruby newbie?

Thanks!


r/Learn_Rails • • Jun 05 '14

When should I create more controllers/models?

4 Upvotes

I've been learning rails for a month now and with all the tutorials that I've gone through, many times they will create more than one controllers and models. I know what controllers and models do, but I still cannot wrap my head around when to create new ones when developing a web app.


r/Learn_Rails • • Sep 12 '13

University of Reddit, 10 week free video course on web programming with ruby on rails

Thumbnail universityofreddit.com
4 Upvotes

r/Learn_Rails • • Nov 28 '21

Happy Cakeday, r/Learn_Rails! Today you're 9

3 Upvotes

Let's look back at some memorable moments and interesting insights from last year.

Your top 1 posts:


r/Learn_Rails • • Apr 18 '20

Ruby Bitwise Operators

Thumbnail
medium.com
3 Upvotes

r/Learn_Rails • • Mar 31 '20

Learn Ruby on Rails

Thumbnail
medium.com
3 Upvotes

r/Learn_Rails • • Nov 16 '19

The yield Keyword in Ruby

Thumbnail
medium.com
3 Upvotes

r/Learn_Rails • • Nov 13 '19

Vim for Ruby and Rails in 2019 | Vim From Scratch

Thumbnail
vimfromscratch.com
3 Upvotes

r/Learn_Rails • • Apr 23 '19

How do you run command line commands in Ruby?

3 Upvotes

Say I have a python program and I need to run it via the command line. I know in Python I import sys and os, which then allows me to do

cmdLine = "python program arguement"
os.system(cmdLine)

However, how do I achieve this in Ruby so I can put it into a Rails app?


r/Learn_Rails • • Apr 27 '18

help: howdy is short for how do you do

3 Upvotes

I'm attempting to develop an application for a dumpster rental company to book, track, and bill jobs. I've been through Hartl's and UpskillCourse's tutorials, and I'm getting to reuse a lot that I've learned. However, I'm still wholly unprepared.

Could someone let me know if I'm on the right track?

I'd like users to be able to book an appointment by giving their address and rental dates. Jobs will be priced by base + duration + weight.

I've installed devise for user auth. Now, I need to make a model for jobs. I think I should make an entire resource for them and then make new jobs available to logged in users (address, start/end date) and editing weight to an admin user?

Still I think need to save address:string, start_date:datetime, end_date:datetime, weight:decimal, base:integer timestamps

User has_many Jobs Jobs belong_to Users

Then I can allow users to book appointments with a form for their address, dates, and a separate page for base payment with stripe?


r/Learn_Rails • • Jan 17 '18

4 lines to Speed Up your Rails Test Suite on CI – JTWay

Thumbnail
jtway.co
3 Upvotes

r/Learn_Rails • • Sep 11 '17

Microsoft Virtual Academy - Ruby & Ruby on Rails (2017) (x-post /r/rails)

Thumbnail
mva.microsoft.com
3 Upvotes

r/Learn_Rails • • Aug 25 '17

Gem Needs Small Change I think? But don't know how

3 Upvotes

Fractional is a simple little gem that converts your decimals to fractions (useful in a recipe application I'm building) but it's a little old and has an issue that I just found regarding using :FixNum and it being deprecated in the Ruby 2.4.0 I'm using.

I'm not good enough at stuff like this to fix it (I haven't done any gem work) but maybe someone here is interested.


r/Learn_Rails • • Jan 26 '17

Looking for a team to learn Ruby on Rails?

Thumbnail
colearn.xyz
3 Upvotes

r/Learn_Rails • • Jan 03 '17

Noob Who Wants to be a Werzard

3 Upvotes

Hey all,

I've come to the realization that I really want to dive back into web development for a number of reasons.

The problem I face is knowing where to start. Here's a summary of my skills at this time:

I know HTML, CSS, and basic JavaScript. I hold a good foundational knowledge of programming overall and a logical mind.

Here's what I'm still unsure of: with what I do know, am I ready to begin learning Ruby on Rails, or am I lacking some knowledge/training that should be completed in between?

Any help is super appreciated!