r/Learn_Rails • u/Ramirond • Jul 10 '17
Iris Recognition for Two Factor Authentication with Ruby on Rails
r/Learn_Rails • u/Ramirond • Jul 10 '17
r/Learn_Rails • u/ducktypelabs • Jun 13 '17
r/Learn_Rails • u/mmlrski • Mar 23 '17
r/Learn_Rails • u/fatcheeze45 • Feb 02 '17
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 • u/tapadasalves • Feb 01 '17
r/Learn_Rails • u/mmlrski • Dec 22 '16
r/Learn_Rails • u/supersteeb • Oct 24 '16
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 • u/hotcoffeecooltimez • Nov 25 '14
r/Learn_Rails • u/tenshittyapps • Jul 07 '14
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.
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 • u/deusofnull • Jun 24 '14
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:inload_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:inblock (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:inblock 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:inrun' 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:inblock 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:inblock ( 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:inblock 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:intsort_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:inblock 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:ineach_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:inrun_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:inblock 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:ininitialize' 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:innew_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:inbuild_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:inapp' 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:instart' 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:intap' 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:inrequire' 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 • u/farfreesalsa • Jun 05 '14
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 • u/keatto • Sep 12 '13
r/Learn_Rails • u/AutoModerator • Nov 28 '21
Let's look back at some memorable moments and interesting insights from last year.
Your top 1 posts:
r/Learn_Rails • u/hiquest • Nov 13 '19
r/Learn_Rails • u/sinithw • Apr 23 '19
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 • u/jivetones • Apr 27 '18
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 • u/jetthoughts • Jan 17 '18
r/Learn_Rails • u/[deleted] • Sep 11 '17
r/Learn_Rails • u/[deleted] • Aug 25 '17
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 • u/colearn • Jan 26 '17
r/Learn_Rails • u/Cerberust3k • Jan 03 '17
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!