Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Search - "rails"
-
My friend just started RUBY.
He read somewhere " Ruby is used commonly in rails ".
He now thinks RUBY is for programming trains and station related stuff.15 -
The second episode of The devRant Podcast is here! We're happy to announce the release of episode #1 - featuring David Heinemeier Hansson (DHH) (known for creating Ruby on Rails, Basecamp, his book Rework, and much more). It was a thrill getting to interview David and we think everyone will really enjoy!
We also want to give a huge thanks to our two devRant users who helped us out and came on to talk about their rants - @peaam and @switchstep. We also greatly appreciate all of the questions that were submitted by community members. We really wanted to ask all of them since there were a lot of good ones, but unfortunately we ran out of time with DHH and we didn't get to ask any :/ We're going to make sure we better allocate time in the future.
You can get all the links to the podcast here: https://devrant.io/podcasts/... (available on iTunes, Google Play, YouTube, Soundcloud, Stitcher, and we've provided the raw mp3 in various bitrates).
If you'd like to see it on any other platforms in the future, please let us know. And like always, feedback is appreciated since we're new to this and still learning our way when it comes to podcasting. If you enjoy the show, please rate it to help us out :)
Thanks everyone!7 -
Someone advised him that WP runs faster on Ruby.
Now, he wants me to port WordPress to RubyOnRails !!!17 -
At the end of our first podcast (https://devrant.io/podcasts/...) we gave a hint about the featured guest on our second episode. Now, it's time to announce this guest!
For the next episode of The devRant Podcast, we're fortunate enough to welcome David Heinemeier Hansson, also commonly known as DHH!! (http://david.heinemeierhansson.com/) David is the creator of Ruby on Rails and founder/CTO of Basecamp/37signals (project management tool), and a best-selling author know for titles like "Rework." He also drives race cars. We're extremely excited that we'll have the change to interview him as our second featured guest.
Like last time, it's time to take questions from the devRant community! If you have a question you'd like us to ask David, please add it as a comment on this rant or you can email me (david@devrant.io). Thanks everyone!6 -
My friend build a website on Ruby on Rails for his semester end project.He used Lorem ipsom to represent text.
Our professor thought he used some template and gave him 0.7 -
Elon Musk makes a front end website containing a single alphabet in html and everyone loses their mind. Meanwhile me deploying with heroku to host the awesome fb-like rails app I made and no one gives a fuck to open it19
-
First rant
No idea what I'm doing.
30y.o. and I'm learning Ruby On Rails in order to switch from my current job in finance to Web development. Let's see what happens next.15 -
Man, I think we've all gotten way too many of these.
Normally most interactions that I have are through email. Eventually some would try to contact me via phone. These are some:
"Hey! We are calling you from <whatever company name> solutions! (most of them always seem to end on solutions or some shit like that) concerning the Ruby on Rails senior dev opportunity we were talking about via email"
<niceties, how are you doing, similar shit goes here...eventually>
So tell us! how good/comfortable would you say you are with C++?"
Me: I have never done anything serious with c++ and did just use it at school, but because I am not a professional in it I did not list it in my CV, what does it have to do with Rails?
Them: "Oh the applications of this position must be ready to take in additional duties which sometimes happen to be C or C++"
Me: Well that was not anywhere in the offer you sent, it specifically requested a full stack Rails developer that could work with 3 different frontend stacks already and like 4 different databases plus bla bla bla, I did not see c++ anywhere in it. Matter of fact I find it funny, one of the things that I was curious about was the salary, for what you are asking and specifically in the city in which you are asking it for 75k is way too low, you are seriously expecting a senior level rails dev to do all that AND take additional duties with c++? cpp could mean a billion different things"
Them: "well this is a big opportunity that will increase your level to senior position"
Me: the add ALREADY asks for a senior position, why are you making it sound that I will get build towards that level if you are already off the bat asking for seniors only to begin with?
Them: You are not getting it, it is an opportunity to grow into a senior, applicants right now are junior to mid-level
ME: You are all not making any sense, please don't contact me again.
=======
Them: We are looking for someone with 15 years experience with Swift development for mobile and web
Me: What is up with your people not making these requirements in paper? if I knew from the beginning that you people think that Swift is 15 years old I would have never agreed to this "interview"
Them: If you are not interested in that then might we offer this one for someone with 10 years experience as a full stack TypeScript developer.
Me: No, again, check your dates, this is insulting.
===
* For another Rails position
Them: How good are you with Ruby on Rails in terms of Python?
Me: excuse me? Python has nothing to do with Ruby on Rails.
Her (recruiter was a woman) * with a tone of superiority: I have it here that Python is the primary technology that accompanies Rails development.
Me (thinking this was a joke) : What do you think the RUBY part of Ruby on Rails is for? and what does "accompanies Rails development" even means?
Her: Well if you are not interested in using Rails with Python then maybe you can tell us about your experience in using Javascript as the main scripting platform for Rails.
Me: This is a joke, goodbye.
====
To be fair this was years ago when I still didn't know better and test the recruiters during the email part of being contacted. Now a days I feel sorry for everyone since I just say no without even bothering. This is a meme all on itself which no one has ever bothered to review and correct in years for now. I don't know why recruiters don't google themselves to see what people think of their "profession" in order to become better.
I've even had the Java/Javascript stupidity thrown at me by a local company. For that one it was someone from their very same HR department doing the rectuiter, their shop foreman was a friend of the family, did him the service of calling him to let him know that his HR was never going to land the kind of developer they were looking for with the retarded questions they had and sent him a detailed email concerning the correct information they needed for their JAVAscript job which they kept confusing with Java (for some reason in the context of Spring, they literally wanted nothing with Spring, they wanted some junior to do animations and shit like that on their company's website, which was in php, Java was nowhere in this equation)
I think people in web development get the short end of the stick when it comes to retarded recruiters more than anywhere else.3 -
Ruby. Ruby this. Ruby that. Ruby in a box. Ruby with a hat. Ruby with a fox.
My job swears that there is no need for React, even though Rails now comes baked with webpack.
React with a jet pack. React with webpack. React in my web stack.11 -
Once I had a client that asked me to develop a website using Ruby on Rails but he wanted the routes to end with .php
Until now I don't understand why.7 -
For an ostensibly security-focused financial company, these people really don't know what they're doing. Everything I've seen thus far is so hacked-together that I feel like i'm looking at code written by high schoolers.
Seriously, some of API Guy's code is better than this.
And they even make a point to remind me of ultra basics like `.to_a`, `.map`, or "a good command to keep on hand is `rake db:migrate`" -- like seriously? Those are in bloody "Intro to Rails" tutorials (and it's `rails db:migrate` as of Rails 5). For an ostensibly all-senior team, these devs are awfully junior.5 -
So, this dumb roommate of mine (graduated in CS) comes one day and says..
"Ruby on Rails was developed for the railways!"
And he was serious not joking. Fking serious!
I almost burst my brain nerve laughing that day!! 😂
P.s. I'm changing roommates this session.14 -
I'm looking for a new job.
If anyone is hiring remotely or knows of somewhere that is, could you please let me know? 😊
(I'll be looking locally as well.)
Stack:
• Ruby+Rails
• Node
• Postgres/etc.
• React
• Angular 1.x
• Sass/Less
• MaterialUI, Susy
Timezone: GMT-733 -
It's 5 in the morning, but I fucking did it.
The dashboard of my CMS is fucking done and functional. And it's gorgeous as fuck.9 -
Me: So why did you drop the db?
Intern: I couldn't rename the Model I've just created.
Me: Your CV says you're a prolific Rails Dev.
Me: How many days you have left working here?
Intern: 3Months
Me: Just take 3 months off work.13 -
that feeling when you code from 11 pm to 2 am to solve a problem and then decide to google it and see that you could solve it in 2 min or less4
-
STUPID RAILS!
WHY CAN'T YOU JUST BUILD THE BLOODY QUERY WITHOUT DOING FANCY UNNECESSARY SUBQUERY SHIT?!
OR PUT THE LIMIT WHERE IT MAKES SENSE AND DOESN'T CAUSE MYSQL TO TELL YOU TO FUCK OFF?
WHY WHY WHY WHY WHY
THIS ISN'T HARD18 -
junior developer position:
You must know:
HTML
CSS
JavaScript
React
Vue
Angular
Java
PHP
C
C++
Ruby on Rails
Python
Computer Science degree required
Expect a 10 round interview process
And if you're still alive after that,
You're hired!
Apply now!13 -
New role, new stack.
I'm saying see you to Ruby on Rails, Mac OS and Angular to welcome C#, .NET core, Windows 10 and React.12 -
Rails 5 + Ruby + React learned in less than a month. Im so ffff tired, but have to keep moving to reach deadline for an app with already 2K hours in with team.
Still better than working on Wordpress.15 -
On the first day of Christmas, the bossman gave to me: The fact that my new computer purchase order needs to be OKed by the CEO and I need to continue working on a 2014 Mac Mini (i5-4260U, 8 Gig RAM, GPU shot by an ESD on the case long ago) for the next year.
On the second day of Christmas, my family gave to me... a good reason to get shitfaced
On the third day of Christmas, getting shitfaced gave to me: A hangover and some urgent plastic welding job that had to be done with a soldering iron. FML, I've had a headache before breathing in pure hydro-cyano-whatthefuckyougetwhenyoumeltplastics
On the fourth day of Christmas, my team gave to me: A legacy, age-old Rails 2 project that was written by an intern and never reviewed, went to prod in 2014 and can't be changed anymore, but needs to be changed after the fact that it has zero test coverage and needs 100 % now to prevent issues and costly manual testing.
On the fifth day of Christmas, devrant gave to me: The Idea that making fun of Christmas songs to get over the sheer amount of dicks that working over the twelve days of Christmas sucks.
To be continued...2 -
I am much too tired to go into details, probably because I left the office at 11:15pm, but I finally finished a feature. It doesn't even sound like a particularly large or complicated feature. It sounds like a simple, 1-2 day feature until you look at it closely.
It took me an entire fucking week. and all the while I was coaching a junior dev who had just picked up Rails and was building something very similar.
It's the model, controller, and UI for creating a parent object along with 0-n child objects, with default children suggestions, a fancy ui including the ability to dynamically add/remove children via buttons. and have the entire happy family save nicely and atomically on the backend. Plus a detailed-but-simple listing for non-technicals including some absolutely nontrivial css acrobatics.
After getting about 90% of everything built and working and beautiful, I learned that Rails does quite a bit of this for you, through `accepts_nested_params_for :collection`. But that requires very specific form input namespacing, and building that out correctly is flipping difficult. It's not like I could find good examples anywhere, either. I looked for hours. I finally found a rails tutorial vide linked from a comment on a SO answer from five years ago, and mashed its oversimplified and dated examples with the newer documentation, and worked around the issues that of course arose from that disasterous paring.
like.
I needed to store a template of the child object markup somewhere, yeah? The video had me trying to store all of the markup in a `data-fields=" "` attrib. wth? I tried storing it as a string and injecting it into javascript, but that didn't work either. parsing errors! yay! good job, you two.
So I ended up storing the markup (rendered from a rails partial) in an html comment of all things, and pulling the markup out of the comment and gsubbing its IDs on document load. This has the annoying effect of preventing me from using html comments in that partial (not that i really use them anyway, but.)
Just.
Every step of the way on building this was another mountain climb.
* singular vs plural naming and routing, and named routes. and dealing with issues arising from existing incorrect pluralization.
* reverse polymorphic relation (child -> x parent)
* The testing suite is incompatible with the new rails6. There is no fix. None. I checked. Nope. Not happening.
* Rails6 randomly and constantly crashes and/or caches random things (including arbitrary code changes) in development mode (and only development mode) when working with multiple databases.
* nested form builders
* styling a fucking checkbox
* Making that checkbox (rather, its label and container div) into a sexy animated slider
* passing data and locals to and between partials
* misleading documentation
* building the partials to be self-contained and reusable
* coercing form builders into namespacing nested html inputs the way Rails expects
* input namespacing redux, now with nested form builders too!
* Figuring out how to generate markup for an empty child when I'm no longer rendering the children myself
* Figuring out where the fuck to put the blank child template markup so it's accessible, has the right namespacing, and is not submitted with everything else
* Figuring out how the fuck to read an html comment with JS
* nested strong params
* nested strong params
* nested fucking strong params
* caching parsed children's data on parent when the whole thing is bloody atomic.
* Converting datetimes from/to milliseconds on save/load
* CSS and bootstrap collisions
* CSS and bootstrap stupidity
* Reinventing the entire multi-child / nested params / atomic creating/updating/deleting feature on my own before discovering Rails can do that for you.
Just.
I am so glad it's working.
I don't even feel relieved. I just feel exhausted.
But it's done.
finally.
and it's done well. It's all self-contained and reusable, it's easy to read, has separate styling and reusable partials, etc. It's a two line copy/paste drop-in for any other model that needs it. Two lines and it just works, and even tells you if you screwed up.
I'm incredibly proud of everything that went into this.
But mostly I'm just incredibly tired.
Time for some well-deserved sleep.7 -
Figured I should finally start on that rails assessment that's due but the cat decided I've probably should procrastinate yet a little longer ¯\_(ツ)_/¯2
-
SICK AND TIRED OF READABILITY VS. EFFICIENCY!!!!!!!
I HAD TO SEPARATE A 4 LOC JSON STRING, WHICH HAD AN ARRAY OF A SINGLE KEY-VALUE PAIRS (TOTAL OF 10 OBJECTS IN THE ARRAY).
ITS READABLE IF YOU KNOW JSON. HOW HARD IS TO READ JSON FORMAT IF YOU GET YOUR STYLE AND INDENTATION PROPERLY?!?
SO I HAD TO
BREAK THE POOR FREAKING JSON APART TO A FUCKING DIFFERENT YAML FILE FORMAT ONLY SO I CAN CALL IT FROM THERE TO THE MAIN CONTROLLER, ITERATE AND MANIPULATE ALL THE ID AND VALUES FROM YAML BACK TO MATCH THE EXPECTED JSON RESPONSE IN THE FRONT END.
THE WHOLE PROCESS TOOK ME ABOUT 15 MINUTES BUT STILL, THE FUCKING PRINCIPLE DRIVES ME INSANE.
WHY THE FUCK SHOULD I WASTE TIME AT AN ALREADY WORKING PIECE OF CODE, TO MAKE IT LESS EFFICIENT AND A SLIGHTLY BIT MORE READABLE?!? FML.5 -
I need to build this, but fuck php.
Research.
Chose ruby on rails.
Bougth course on Udemy.
Took another course on Lynda.
Build it.
Now I love ruby.2 -
Rails console:
> `ModelOne.joins("ModelTwo")`
# => ActiveRecord::StatementInvalid (Mysql2::Error: Unknown table 'database_name.model_ones')
MariaDB:
> `select count(*) from database_name.model_ones`
# => 13274641
It's right there, ffs4 -
!rant
Two years ago, I started to learn Ruby on Rails so I would at last know a server language even though it wasn't the almighty PHP. Two years ago minus a few months, I decided to put my first website online with Apache and Passenger. It took me a whole six hours with stress and cries for help until I finally saw my website's homepage displayed on my screen
Today, after a few more websites (and currently 3 more projects but still not released, dang it), I tried to update mySQL to 5.7 since I need it to be able to save arrays for a future project, but everything went full shitstorm with broken packages and lame-ass-shit tutorials that make you doubt your sanity.
So I decided to backup my database and my online websites and to reinstall the whole server and take advantage of it to update the current used gems (Rails 4.2 -> 5.1, not bad)
Not only it took me just a bit more than 2 hours to redeploy the websites, but I didn't felt at the edge of panicking once, and now everything works like a charm.
I feel fucking alpha now.2 -
I don't want to use HAML!!!! I'm the Developer, you shouldn't be doing dev! Your opinion doesn't matter.
...
...
We're using HAML for the project ...7 -
Managers when a project is going off the rails:
*crickets*
Managers when something is successfully on track:
THIS NEEDS A ROADMAP, WHERE IS THE CORPORATE GOVERNANCE, WHOSE IDEA WAS THIS, I DIDN’T APPROVE THIS ACTIVITY.2 -
Me: so, what are you doing as a developer?
Him: I am full-stack developer, basically ROR...
Me:...! Sorry, do you mean R&D, research and development? Or you mean Aroura DB?
Hi: no man, I am expert in ROR! You can not call your self developer in our days without knowing the on demand technologies!
Me:... Sorry dude, can you please tell me what is ROR, I don't want to lose my title as a developer!!!?
Him: OK, we call Ruby On Rails as ROR.
Me: ~¢°¤”©°$®”«2 -
Currently balancing my full time job. A Rails bigass project and certain php contracts.
The rails one is unpaid, and I am doing it on my free time since my "payment" would be a portion of the company and a CTO position once it is done. I am building it with one of my best friends and he got the contract from this one dude he has who is loaded and will be selling this to the dptmnt of education of certain country.
The thing is, we all know how it works with those projects. The CEO had contracted this project to some people. He paid them handsomely and as is the case with certain situations the project was abandonded, the devs took the money and ran. So that is why he decided that instead of paying people like he should he would instead try and see if he could get someone interested. He told my friend to get himself an "American developer" since he was fed up with the devs of said country and that is how I am here now.
But the thing is, he is somewhat desperate to see something and even tho I show advancements on a weekly basis I hate the wordings of his group text messages:
"All right guys. I need to see some advancements, show me what you got now"
Motherfucker. You sit your ass and WAIT for me to want to show you something, but don't demand shit like if you are paying me. As far as I know my priorities lie in my current day job or the other people that ARE paying me.
>i need to see some advancements
Fuck off.6 -
It's really annoying when "programmers" who have only worked on one language/framework defend it as superior against any other framework. If you haven't tried Rails, how the fuck can you say Express is better? $;:&/@:$).
PS: if you've tried both and you like Express over Rails, I have nothing against you :)1 -
Who the flying fuck thought this was a good idea?
Could you not have used rails c/equivalent??
Doofus.1 -
Trying to teach a friend Rails
Friend: what is a migration
Me: file that alters the database etc.
Friend: what is a migration3 -
Mocking hardcoded data in frozen constants in Rails is such a fucking pain! Why must this be so difficult!?
asfdfakldsjfuck9 -
Rails gems are like heroine. Addicting as fuck and dangerous when you stop using them.
Just the other day I was explaining user accounts explanations to a coworker when he asked me "what if for some reason you cannot use that package"
My brain froze for a minute trying to remember how would one go about doing that without devise.
Dangerous man.2 -
Soooo... This happened
Then I got to fill a Google form, there they're asking my hourly price. I've never done such *paid* work. I'm a 2nd year undergrad, what price should I set?
Please help!10 -
Developing a web app that I'm sure was touched by Satan himself. Bugs come out from no where.
Yesterday when I left everything worked. Today when I arrived nothing works! Lots of angular errors. WTF. No one else worked on it . :O4 -
Does anyone know of any apps/companies that are using .Net core in production?
I’ve started a project at work which consists of a webapi written in dotnet core, a react spa for the front end and xunit for testing.
I’m just curious as there are loss of sites about things written in Rails, or django, but almost nothing about dotnet core.8 -
Sometimes I get distracted because of a very technical joke that I don't get initially, but am determined to understand.
4,000 Wikipedia articles later, I understand the joke and now know the history of the pushpin (or some other off the rails object) -
Keeping myself from getting bored af at work. I am a backend engineer doing mostly frontend. And right now it ain't even the interesting stuff. I am merely passing photoshop files to static displays.
Kill me. Every once in a while I do maintenance on Java and PHP apps, but still...bored.....more Rails or Django please -
Do you ever learn a particular technology, have something playing in the background and then associate the tech with that for-fucking-ever?
To me, when I was learning about Ruby on Rails I was watching Full Metal Alchemist Brotherhood for like the 5th time (I am a big FMA fan) and have thought of Rails to be associated with it forever. heck, even with just doing scripts in Ruby without rails I have always felt like I was doing alchemy or some shit.
Yeh I know, spot the weeb.
I don't give a shit I just love Ruby.7 -
RSpec:
Undefined method 'agent_authorization=' for #<Periodic::Payment:0x000000C0FFEE>
Rails Console:
> Periodic::Payment.last.agent_authorization = "PPD"
=> "PPD"
> puts "Hmmm."
=> "Hmmm."rant oh rails you drunk rspec i've spent two hours on this already rails too tired for your shenanigans11 -
!rant
Just got a response from a firm I interviewed with for a junior Rails developer position, they want me to work on a demo project as a next part of the interview process.
This might be my first dev position coming through!10 -
Its 6:57 AM here and I am still awake !! Anyone here today with me ? :D
Good Morning everyone BTW !8 -
Lead developer wants to put SQL statements in to records of the database for the code to execute (in Rails). This smells really bad to me, am I over reacting?8
-
So I just recently had the pleasure to set up a Rails environment for a friend on Windows. I haven't used Windows in about 5 or 6 years, and the person I had to set it up for doesn't know much about programming at all.
I all went fine at first, install database, devkit thingy and git. Then set up the project itself. And there is where the problems started.
First windows would refuse to use SSL, because of some weird bug in the Windows version of rubygems. The suggested upgrade did not work so I had to switch some gem sources to insecure connections, but at least it did install everything correctly.
Alright, I thought, that's not _that_ bad, everything is running now.
He sent me a screenshot some time later. Something was wrong with the JavaScript runtime, and I could not figure out for the life of me what the issue was.
Later again he sent me another screenshot.
His Antivirus spyware was messing with the asset pipeline. (╯°□°)╯︵ ┻━┻
This was the point where I just said "FUCK IT, i'll just put everything into a fucking VM and let him use that".
I should have done that in the first place.
Long story short:
Setting up a development under Windows is painful.
Do yourself a favor and just use a VM.3 -
What the fuck is Django doing other than trying to act like a Fortran developer rewriting Rails in a different language.1
-
!rant, opinion/discussion
What are your thoughts or experiences with Ruby on Rails? Does it have a bright future?
I'm currently only using PHP for server-side web stuff, but looking for ideas for more beautiful languages.
I know C#, but because 95% of web servers I work on are Linux based, it's (as far as I currently know) not an option. Or is ASP.NET Core somewhat supported on non-root (basic hosting) linux servers?7 -
F--- you Ruby, Gems and all this frustrating to install crap. Come on, it is 2018 and this is still one of the biggest issues on all projects depending on Ruby for some damn reason.10
-
myTechLead: We have to use Deno to this.
Dev: What about rails?
mTL: Deno, I said.
2 Weeks later: How can we deploy this stuff?4 -
!rant
when I first heard about "Ruby on Rails" I thought it to be a flash game from a miniclip like developer 😂(similar to this https://play.google.com/store/apps/...)2 -
After spending my entire holiday vacation fucking around with the one language that really digs with my state of mind (Ruby) when developing and having to do some quick troubleshooting on 2 of our applications (Java and PHP respectively) I can honestly say: I legit don't want to go back to that ever again.
But money means more to me than my own personal biases. I have delved in some of the most HATED platforms that developers could normally ask for in terms of work. And have only done some very basic (fucking obnoxiously basic) consulting in terms of Rails, to the point that it might not be even worth putting on a cv. But fuck me man, if I could just fuck around building rails solutions for a living, from the frontend to the backend, I think I would for once be happy with the things that I work with with things more than monetary pleasure.
Y'all know your boy, I ain't no neckbeard, but I fuck with things that a lot of others don't, to me Lisp dialects and Smalltalk are gifts from dev heaven, and I have thrown out Clojure in production (my app is still chugging along just fine at work thank you very mucho) but in terms of pure web development, I have never been happier than when I generate a rails project and start tinkering around.
Sigh.......here is to hoping that maybe I will eventually open my own rails shop.6 -
I'm supposed to be the introverted, non-people person! But the client meetings I'm in for my college senior project go off the rails into awkward mumbling unless I step in and take the tiniest bit of effort in driving a meeting.
Am I doomed folks to become a BA or other person dealing with clients all day, pls end me now2 -
just discovered mailcatcher. love it! <3
can iterate over e-mail template in local environment now3 -
There was this guy on LinkedIn who has done many projects on Ruby on Rails
I asked him the exact count of projects.
He said it's tough to keep track.3 -
Got tangled up on some routing issue with my Rails project yesterday morning so I democratically decided I was allowed to take a break... I launched Diablo 3 and that was the rest of the day...
I just sat there dungeon crawling, eating pizza, ice cream and drinking Monster like a fucking pig... Shame on me. -
Working on Ruby on Rails for first time..
Blogs mention it's more human readable..
I guess I feel like semicolons, args and braces to be more readable... -
Rails. Fucking rails...
God damn monoliths, built by a cowboy coder.
Every one I have ever worked with becomes (or already is) a house of fucking cards that will blow over at the slightest gust of wind.
The worst part is that you always hear the same justifications from rails developers, then after they convince the higher-ups that “we will build it right, not like those other monoliths” we find ourselves F’ed right in the A a few months later.
It’s this frustration that lead me to MUCH better paradigms like Microservices, Event-Sourcing, CQRS, Domain Driven Design and the like.
When someone says “our backend is in rails” my first response is “so when are you replacing it?”8 -
Consulting/contracting for a company, and their lead developer/ops guy quits without warning. This leaves me as the only one with the somewhat technical know how but without access to do anything to move any changes to production....4
-
So I got a telephone interview for a job that a recruiter found for me. Call went well, comes to the development test. Small application in ruby on rails, haven't used it in about 2-3 years so a tad rusty. Completed the test under two days (was given until Friday) not too bad if I say so myself. It's for a junior position anyway so I'll assume they wouldn't mind giving me a refresher to help jog my memory.
-
When you heard your friend wants to recruit someone who can master R, Rails and Swift at the same time....3
-
I hate javascript and all the shitty frameworks it has.
Background: I'm coming from Ruby on Rails world. Ruby is a nice short language built primarily for developer's happiness.
I recently started working on a meteor.js project. Oh boy that framework is terrible. Do I even have to start from all the dependencies failing to install because npm is shit, installs everything locally and only recently discovered lock files?
Fetching a post and its author from the database looks like a fucking space rocket compared to Rails' ActiveRecord fetching.
Meteor.js fetching:
```
Meteor.publishComposite('posts.all', {
find() {
return Posts.find(); },
children: [{
find(post) {
return Users.find({ _id: post.authorId });
}
}]
});
```
Rails ActiveRecord fetching:
```
Post.includes(:authors)
```
Sure, you might get more benefits like meteor uses websockets and it's all a single language, but that piece of the code above that I have to deal with all the time now...it gives me cancer.5 -
my professor expects a full copyright documentation as well as pre post return and other conditions on top of every function in our entire project and she gave us a week to do it. Note that this is in rails. Please help me.9
-
ArgumentError (wrong number of arguments (given 0, expected 1)):
ArgumentError (wrong number of arguments (given 1, expected 0)):
Rails, I love you, but sometimes you should simply go fuck yourself. -
Forget about everything I could say these last 2 days: I'm having as much fun with Docker than when I first discovered Ruby on Rails 3 years ago 😍
I still don't understand everything with docker-compose & shit but so much things are way more clear when you try them out!1 -
The day I decide to learn Ruby will be the day I discover it can be used it for something interesting other than Rails13
-
Working a local community site. Used the project to pick up on Vue.
Next I wanna check out what's all the fuss with flutter. Also I am in the process of reverting back to rails after spending 2y writing php -
When non-Rails developers say RoR. just freaking say Rails or Ruby on Rails. I don't like the way RoR sounds, that's all.2
-
When I realised ruby on rails doesn't serve requests fast enough. It's response times are in 100s of milliseconds while the corresponding framework in elixir serves requests that are sometimes around 100 microseconds
-
A few minutes ago, I was going crazy over a bug caused due to data mutation in Rails.
Basically, user1 was creating a post record and it's stored in the database normally however, on page reload for a second user, user2, the post (that user1 created) was update to belong to user2. This is because, on page reloads, I was using `<<` method call to append user2 and user1 posts together! Apparently, `<<` not only mutates the array, it also performs a database update.
Kill me please!!
Also, data immutability seems a more reasonable feature in languages now.1 -
!rant but kinda
Rails 7 got rid of webpack and Node as a requirement, and for this I am super happy. I heavily disliked having to depend on Node for what is in fact a Ruby framework. I understood the need for it, and I always applaud Rails for being at the forefront of the web dev world and all of the trends that it contains. But maintaining both the node modules required, plus the gemfiles etc was just a big hassle for the simple projects I ever worked on.
This is coming from someone that actually likes JS and Node, but I am thankful this was decoupled.6 -
For my peeps in the RoR arena, did y'all ever felt the need to change from ERB as yout server side rendering engine of choice?
I find it hard to use anything else, i would normally stick to it unless I was using Rails as an API and leave the frontend to React or Vue.
Asking about y'alls opinion because I knew about HAML from a while back. But never really used it and I find Rails with ERB to be really efficient.
Ruby pagebuilding with ERB is really flipping comfortable man.ERB has been my favorite for years.
Currently migrating a project to use Svelte and wanted to see what some of y'all think about Haml or erb. Just for the sake of curiosity. Don't know how many rails users we have in here.5 -
"The reddit" or forty two function
ary[41] == ary.forty_two
Explanation https://quora.com/Why-is-Array-fort... -
Hosting Rails is such a pain in the butt.
Heroku, too expensive
DigitalOcean, hard to maintain unless using Hatchbox (Hatchbox, too expensive)
Shared cPanel hosting, too limited, too slow...
I'm setting my own server home from scratch just so I can master fucking Rails deployment.7 -
Just spent 3h setupping a Ruby on Rails deployment system with Capistrano.
Was intense but God's sake it's satisfying when it works flawlessly ! -
Elixir/Phoenix developers, what are your opinions on Ruby/Rails and vice-versa?
(Not trying to start a war here 😅, just some heathy discussion)3 -
Any Ruby on Rails developers here? I‘m an Angular Frontend-Dev and want/need to learn RoR, especially for backend development. Any good books/tutorials/resources?8
-
$ rails new [old side project but this time I will finish it (sikes)]
$ cd [project]
[ Inserting "gem 'webpacker' ~> '3.0.0'" in Gemfile ]
$ bundle install
$ rails webpacker:install
$ rails webpacker:install:react
node_modules weights 97.4 mo 🙄3 -
Me and some friends on a train ride up to Roma, one guy busts out some sailor Jerry's and grapefruit juice, it's delicious, but we couldn't think of a name for this. I suddenly shout RUBY ON RAILS, mixed results
-
Legacy code that has a really long and convoluted way of integrating Dropbox authorisation to save files etc.
This happened in a meeting discussing where I’m at with the upgrade.
Me: This upgrade is going to take a while because of how outdated the app is. Also for assets uploaded by the user why don’t we just use active storage for this now as we have rails 6 now. Plus it will reduce a lot of code.
Other Dev: why would we do that? It’s a big change and will need testing.
Me: A lot of stuff is broken after the upgrade anyway and if we have a more built in simple way to do it why wouldn’t we? Also simplifying the code base is always good. The PR is already 1000+ files and we’re going to have to retest the app anyways.
Other Dev: *crickets*
I’m trying to make the app more smooth and streamlined and overall a better codebase as currently it’s shocking there and security holes galore, its like they don’t trust me with changing anything big haha honestly I think I’m the only one who wants to actually improve the application.2 -
That moment you find the method build is just a alias for the method new.
https://github.com/rails/rails/... -
Last week me and my friend have been changed from a legacy PHP project to new Ruby on Rails-based setup. What, in first instance, looked like a great improvement, now becomes a nightmare.
All this convention-over-configuration is awesome - but only if you already know the conventions, or if somebody told'em to you.
And everything is going even more out of control because the damn project is based upon Spree gem and several other extensions, that MUST be changed to meet out company needs.
I'm getting really mad with all this pressure. Ruby seems to be a great language, but I'd rather be working with Laravel. Its overall organization, the centralization of CLI commands in artisan, and the astoundingly clear, eloquent, direct and well-designed documentation made my adoption curve there a little more pleasant.
I mean, legacy PHP systems are awful, but Laravel framework sounds way more easy-to-learn and well-constructed when compared to rails.
But given all this nightmare, I really want to be proved the opposite.1 -
hi guys, do you have extra work and need a budget friendly dev to help you? hit me up for quality work on a deadline. my tech stack is html, css, js, react, and currently learning ruby on rails. i need to gain some experience working on projects + be able to pay up some bills
-
Today, I randomly remembered a guy who was doing an internship at my college's tech lab. From what I gathered (I wasn't really part of that group) all they had to do was familiarize themselves with one of the many systems available and... I suppose maintain it or improve it.
.... Poor guy spent the first 2 to 3 weeks just trying to get Ruby on Rails to work. The work he was doing was not (and would never be) critical so there was not much of a sense of urgency.
Someone should have told him to use a fresh VM. Guy was trying to get it to work in his private laptop running windows. A doomed endeavor.3 -
I had the pleasure of rewriting some hacky rails code of a colleague yesterday. I love the way it looks now, but man. What a beunhaas2
-
My dev area of focus is Stack overflowing. When you develop orient to errors, stack overflow is the best way to progress.
-
In the ever-growing saga of the upgrade, here is another one.
In the daily scrum meeting, I chat about the upgrade, standard stuff.
The other dev pipes up - "Oh we had a meeting about that this morning and were going with a different approach"
Me - "wait, we're doing what now? You do know I've spent a month so far just on this upgrade?*
*silence*
Anyways I continue working on the upgrade, few meetings while I try to find out what's going on.
Spoken to BA, my line manager and the other dev didn't get much basically saying yeah this is how we're handing it now.
Well it turns out after writing a big long message to the other dev, he decided *yesterday* in a manager meeting (he's kind of a manager but not really) to propose a new approach and they all just leapt at the chance even though it's going to take way longer (2 years estimate) to patch up the system version by version until we get to the latest release.
So at some point today he sends me a message to stop what I'm doing and go and help with a product release and that we *are* doing this new approach and that he made the decision yesterday. I'm sorry but since when did he become my manager micromanaging me haha
So as the only one doing the upgrade, I only got told of this change in passing, the other dev said that he decided yesterday and didn't bother to tell me as he had other stuff to work on and neither did my line manager.
Seriously what the hell.
So hopefully the things I've worked on and done might get used in a year or two haha6 -
Another tale of the legacy app, so I'm redoing the user roles using the cancancan gem.
Hop into a meeting to go over why I'm re-doing the authorisation, currently, the app is using the rails-authorization-plugin, yes from Rails 2.0.
me: *explains why this is the way to do it*
other dev: "Can we just fix the custom code we have added in that plugin?"
me: "Well given that it's a massively out of date plugin and we have a ton of deprecations, probably not"
other dev: "so let's try and fix it"
Christ, why are we still clinging onto 10+-year-old plugins if were going to keep getting errors when we upgrade?27 -
Should I learn a database language before backend, or vice versa? I’m thinking that I learning Rails and some form of SQL.2
-
I'm Ruby on Rails Developer, Currently using Dell vostro laptop ( it hangs like hell with Ubuntu)
Suggest me the best laptop for rails and other development.4 -
Once, when I was trying to learn Ruby on Rails I declared a variable called 'public'.... I got so many errors, that I had to start the project from scratch again. #fml hahaha
-
Been writing a webcrawler to be integrated into Rails and possibly Phoenix (in the future)..
Friend A: Heyyyy. Woah. You speak Latin?
Friend B: Dude he's a hacker bruh.
Friend C: Omgomgomg can you hack J****'s FB?
Me: Guys. It's just code. (¬_¬) -
Starting a team project in Rails without even knowing Ruby.
I thought that it won't be too different from other frameworks and I would learn it in 2 days or so. I was so wrong... -
How do people make clones without tutorials!? 😭😭
I'm tryna clone bleacher report but have no clue where to start cause they're no guides anywhere2 -
Does anyone have an alternative web framework mostly for an API? Much appreciated if Graphql out of the box.
One "pillar" of Rails is that it's done to optimize programmer happiness. My experience with Rails turned out to be true in that sense.
I was wondering if there's an alternative that could emulate that experience.5 -
When you start your internship with zero knowledge of web development but then becomes responsible of back end web development. #learningthehardway #mybossCCgonnakillme1
-
I woke up pumped as hell this morning, it was gonna be the most productive day in history, I was gonna finish that fucking Rails app I've been dragging on for long enough, maybe even go out and get a girlfriend... Then I went to the kitchen and the fucking espresso it's over... Fuck this shit I'm going back to bed.1
-
What would you use for building the baclend of a moderately complex web application that probably will have a small userbase?
Ruby on Rails
Django
ASP.NET Core
Spring/Springboot
Node.js
Deno
If what you would like to use something else that is not listed feel free to tell about it in the comments19 -
just did quick look on post about some guy comparing Laravel vs Rails vs Django. His conclusion was Django is the toughest one to learn o_0. Funny thing is i found out it's bit off.3
-
I used to have problems installing rails on PC and it took me 2 weeks to figure out that I just needed to install Node.js... I want 2 weeks of my life back :/
-
Rails, React, React-Native, Docker, Kubernetes, Openstack, Jenkins, AWS, Microservices, Realm, MongoDB, PostgresQL, GraphQL (list goes on...), and I'm not even done yet.
6 months was spent learning all of the above because I found a Rails-only monolith on Heroku unsettling. My first batch of containers was just deployed and I couldn't be happier. Love my job.3 -
Testing out server settings to host rails application. Setup is a bitch compared to PHP but the work flow is amazing :D1
-
My school didn't have any programming or CS classes, so I started to learn python online my junior year. I thought it was interesting so I declared a CS major in University. Now I'm about to graduate knowing java, c++, Ruby on rails, c#
-
Why is Ruby on Rails such pain in the ass on Windows? A college of mine uses Windows for our project, since I use Linux I rarely get any errors :)2
-
Let me rant! I don’t usually do this but this is just frustrating and draining. Please tell me if im wrong. We have authentication that needs to be refactored. I was assigned on this issue. Im a junior btw. I also attached an image of my proposals. The issue of the old way of our signup process is that when validation fails they will keep on accepting the TaC (terms and conditions) and on our create method we have the validation and creating the user. Basically if User.create(user_params) create else throw invalid end. (Imma take a photo later and show it you)which needs to be refactored. So I created a proposal 1. On my first proposal I could create a middleware to check if the body is correct or valid if its valid show the TaCs and if they accept thats the moment the user is created. There is also additional delete user because DoE told me that we dont need middlewares we have before and after hooks! (I wanted to puke here clearly he doesn’t understand the request and response cycle and separation of concerns) anyway, so if middleware is not accepted then i have to delete the user if they dont accept the TaCs. Proposal 2. If they dont want me to touch the create method i could just show the TaCs and if they dont accept then redirect if they do then show form and do the sign process.
This whats weird (weird because he has a lot of experience and has master or phd) he proposes to create a method called validate (this method is in the same controller as the create, i think hes thinking about hooks) call it first and if it fails then response with error and dont save user, heres the a weird part again he wants me to manually check on each entity. Like User.find_by_email(bs@g.com) something like that and on my mind wtf. Isnt it the same as User.create(user_params) because this will return false if paras are invalid?? (I might be wrong here)
This is not the first time though He proposes solutions that are complex, inefficient, unmaintainable. And i think he doesnt understand ruby on rails or webdev in particular. This the first time i complained or I never complained because im thinking im just a junior and he hs more experience and has a higher degree. This is mot the case here though. I guess not all person who has a higher degree are right. To all self thought and bachelors im telling you not all people who went to prestige university and has a higher degree are correct and right all the time. Anyway ill continue later and do what he says. Let me know if im wrong please. Thanks4 -
Definitely check out the new devRant podcast episode featuring Ruby on Rails creator DHH. Also two great ranters read and describe their popular posts. Total fun and informative episode! 😀
-
!rant, suggestions/help wanted.
I'm attending my first develop conference next week, RailsConf in Pittsburgh. I'm pretty excited because the ruby community is always talked about as being so awesome. Anyone have any tips on making the most of my first conference? Anyone else going?1 -
I'm on a project that has been off the rails for a few weeks. We're no longer working off tickets/the scrum board. Clients are asking for production servers yesterday.
Things are behind. Some people are working nights and weekends. I'm one of the people who are vary vocal about not working over time and I haven't worked a single night or weekend yet (we're salary exempt too; no extra pay).
I even bought up in a meeting how I was not happy about people being guilt tripped for not working over (our PO messaged me out of band a few weeks back telling me my teammates would appreciate me putting in more effort).
I agreed to work this Sunday and already regret it, even though they said there'd be compensation (without mentioning what that compensation is). I was also told everyone is doing it and that's not true either.
In my 18 years in IT, I've worked at ~ 13 companies. This one is in the bottom 3 for sure.2 -
I'm a Ruby on Rails developer. I love Rails because you can get so much done so quickly. I've built huge websites on Rails at the consultant shop where I work.
A couple of years ago we added a frontend guy to the team. We switched from doing full stack Rails to using Rails for API only with Vue with Typescript as the frontend. Since this transition took place, I am unable to get anything done on frontend. It takes a huge amount of effort to just add a new input box to a page. Our whole team is on the edge of getting laid off because we can't get things done in a timely fashion for clients and our products consistently run over time and over budget.
Here I'm trying to add an "Are you sure you want to delete this?" message to a form, and I'm on third hour trying to make Typescript happy. I want to assign a variable a value and I have to decipher errors like this "Type 'Ref<string>' is missing the following properties from type 'Vue<string, Record<string, any>, never, never, (event: string, ...args: any[]) => Vue<Record<string, any>, Record<string, any>, never, never, ...>>': $data, $props, $parent, $root, and 30 more." WTF?!?!
Am I just not smart enough for this? Why did programming suddenly become so hard for me? If I had to start off this way I wouldn't be a programmer because I wouldn't have been able to figure this out alone and it wouldn't have been any fun. Anyone else have the HATE for Typescript that I do?12 -
There is no fucking holy grail of programming. It's better to use the right tools for each task instead of wasting hours to make the wrong tool do a horrible job. But noooooo. Even since this co-worker got here, he bragged how good Drupal 7 is for everything, and he never even ised it once before! Now we have 2 fucking projects beyond schedule and a new one coming ing, each of which tries to use a fucking CMS as if it was a fucking framework. Fucking idiots who believe setting a couple of options via gui to generate random code means programming. Fucking bosses who believe using 3rd party community modules and hacking around them to have them do different stuff is better than coding what we need. I fucking gave up and started using raw php to be able to finish this fucking project, but my damn co-worker refuses to. He keeps swearing and punching the desk, saying it's our clients' fault for asking stupid features, and if you dare to mention how it may because we're using a cms like it was a framework, he just goes full bigot about Drupal. Bloody Hell, it would have taken lass than 3 weeks in Rails. I could just headbutt a kitten right now.1
-
I tried to convince my boss that choosing ruby on rails would be a great framework for the projects they want me to develop. I even put together a presentation to show why it's capable.
I did it because I've completed a great course on coursera, and wanted to gain more experience in real projects.
Yet they've dismissed the idea cause there is noone else working at the company who has any competence in rails, so I have to do all the work in yii. There are lot if similarities between the two framewoks but I have no interest in php and I haven't touched php in like, 8 years...
Need to find a way to practice rails in the meantime.1 -
I'm absolutely sick of my current project. Our client/product owner continues to add (poorly designed) features that require complete back end restructuring and complex data migrations, despite my advice. After my coworker left last week, I'm the only developer willing to work on the model/api for our application. The rest are all frontend.
Everything I work on feels like such a heavy task. No mindless bugs to break it up, because I have no time. I have no one to talk to on my team anymore to help me solve those problems. I feel so alone and burnt out.
Any tips to better my situation here? :/
(Sorry -- this is is my first post here. It's an actually rant. And it's a depressing one at that)1 -
I work with Rails on the back end. And React/angular.js on the front end. I am wondering if it would be worth to learn node. I mean, I like Ruby on Rails a lot. But I’m in love with JavaScript ..
Ohh what to dooo1 -
Finally got that damn web app to send out mails (2am). Turned out mail server worked, rails was properly configured, delayed jobs were running and were getting proper rights and environment. The issue was wrong configuration in app itself (somebody skipped part of the wizard). But still, fixing somebody's else server with webapp I know just a little about in languages I know even less about (not a web developer) after few guys failed and just within five hours, makes me feel both dumb (should have noticed much sooner) and proud (figured it out in the end).
-
Guys. please help.
I’m trying to build something with multiple crud pages using and angular and rails.
For some reason when I attempt to go one of the routes it fails and goes straight to the backup(otherwise).
It’s the patients/new route that isn’t working. Everything else seems fine so I’m not sure what else to add to the question. I’ve tried changing things around to narrow down the problem and I’m almost convinced it’s from the routes. The button works fine when I link to other pages.
fml. I’ve been up for too long. I can link to the Stack overflow question WHICH NO ONE WANTS TO ANSWER if you need an idea,
https://stackoverflow.com/questions... -
!rant / Joke
RoR dev (Me): Damn, I gotta learn more about that routing DSL... Shit's powerful.
Networker: That sentence made zero sense... Did you just use technobabble? Go to marketing you dweeb.
Well, Matz really trolled the networkers there...
Ruby/Rails:
DSL(Ruby) = Domain Specific Language.
Routing (Rails) = Defining URL Patterns and assigning them to controllers.
Networks(As far as I understand, I only know the absolute basics there):
DSL = Digital Subscriber Line
Routing = The act of passing a packet through another network
"Oh, you can't help that," said the Cat: "WE'RE ALL MAD HERE. I'm mad. You're mad."
And the weird penguin building a rails app is mad too I guess.1 -
!rant
So I got my first rails jobs today!! After learning ruby for a little more than a year on my own I spent the entire summer slaving away helping my Sr dev friend gaining really awesome really world experience and great practices. Now I'm officially a software developer in title haha so excited!1 -
Forgive me Yukihiro Matsumoto senpai, for I have sinned. I can't manage to pass my notices and my alerts from Ruby on Rails to React, so I have to display them in invisible divs. This is so ugly I threw up in my mouth.
Thank you again StackOverflow for being as useless as usual.2 -
Alright so cool story about my idiocy and it’s relationship to Learning Ruby on Rails.
So I decided to start learning ruby and it takes a lot from python(idk which One came first correct me off I’m wrong)
The tutorial I started was using version 4.2 of rails or something and the latest version was 5.1 so me being a fucking idiot continued to install and learn plus I had to open 2 questions on stack exchange that could be solved with an apt-get install command and after 3 days of my understanding what the actual fuck was going on. I reinstalled Mint and got it working.
After JetBrains and sublime text and all my shit was off my NAS I started the tutorial again with everything installed correctly and quit at the 4 minute mark because my bundle install command didn’t work correctly still having trouble and I feel like I should just stick to HTML and CSS1 -
Intern spent about a week trying to set up a local ruby on rails environment. Yeah, this is not really on topic, it wasn't that bad, but it's what comes to mind.
I don't know who modelled the databases I've had to work with these past months but god damn it no fucking normalization anywhere. Inconsistent data just cost me my morning.1 -
Call me a pussy, but I find it quite annoying to figure out why one of 30 of the values returned in a hash is wrong in a 600 line Ruby on Rails method.5
-
So I just found out I have to use amazon (instead of Heroku) for hosting a service I'm supposed to build. The environment just f**king refuses to bild and these are my logs. fml...
-
Professor gave us a whole website to be built on a language new for the whole group (Ruby on Rails) to be demoed and built within 5 days the same week of our finals...3
-
Fuuuuck!!! Why in the godamn hell I get so slow when developing with rails?!?!?!
It took me more than this day to finish a simple form in only front-fucking-end
Damn!!!!!2 -
Long live Ruby on Rails! It's so great once once you actually get what's happening. It's not "too much magic"if you understand what's happening under the hood9
-
So, I’ve been given the task of sorting the security out in an application plugging the holes and whatnot as to be honest it’s shocking haha. It doesn’t help that we automate security audits but that’s a different rant for another day.
We’re using devise for authentication (rails standard, ♥️ devise), we have no password resets through the login page, it has to be manually reset by ringing support, why who knows, even though it’s built into the gem and we allow the user to login using an username instead of an email because for whatever reason someone thought it was a bright idea to not have the email field mandatory.
So I hop onto a call with the BAs, basically I go that we need to implement password resets into the login page so the user can do it themselves and also to cut down support calls a ticket is already in place for it. So I go through the standardised workflow for resetting a password. My manager goes.
“I don’t think this will be very secure”
Wait.. what. Have you never reset a password before? It’s following the same protocol as every other app.
We go back and fourth and I said I’ll get it checked with security just to keep him happy.
The issue mainly is well we can’t implement password resets due to 100s of users not having an email on there account.. 🙃 so before we push this change we need to try and notice all users to set a unique email.
Updated the tickets. All dandy.
Looking at the PRs to see what security things have been done if any and turns out one of the devs in India has just written a migration to add the same default email to every user that doesn’t have an email present and yep it got merged. So I go revert the change but talk about taking a “we don’t care about security approach”.
Eventually we want to have the user reset their passwords and login using their email and someone goes a head and does that. Not to mention the security risk.
Jesus Christ I wonder why I bother sometimes.2 -
that feeling when you find out that all the code you've written the last month will be deleted because of some random shit not beeing supported.
-
Started using Django today after working with rails for a long time. I like it so much more already.5
-
!rant
I'm looking to learn a multipurpose programming language that can do both Web and desktop applications for multiple platforms.. I would also like it to have a nice and easy to use MVC framework available. Currently I'm considering:
Python
Ruby on Rails
Also note, I develop on a mac.9 -
!rant
Just went to my first Ruby Meetup in Lyon, FR 😍
It was so weird to actually meet people that fully understand why you love Ruby so much, since they love it too!
I'm so envious of the people whose job is to develop in this language, I really hope my next job will be about working with Rails too *.*1 -
I feel very satisfied with myself with the progress I've been having with my Rails app. Too bad im not so good with front end stuff. It could look better haha. Still a lot of stuff to do :-(4
-
Going to start learning ruby on Rails from the basics. Do I jump into rails or start with ruby. I am a django developer.4
-
I learnt how to code, first, on code.org. Then on codecademy. There I learnt the basics of HTML5/CSS3, Javascript, Ruby and Ruby on Rails. I also began buying booking on J Query.
-
Hi everyone, I just published my first blog post and would love to hear comments. Thanks in advance.
https://medium.com/@priom/... -
Hi do anyone has a formula or tips on working on two different freelance software projects at the same time?
Ps: both has same project time frame (1 month), different programming tools: ( Ruby on Rails), the other MERN stack...7 -
Hey so I have to make something using both angular and rails and I wanna ask. After I manage to get angular running on rails, do I just proceed to build what I wanted on angular normally? Or is there a special way I have to do.
I'm learning to build something but I can't find specific guides on how to combine those to do so.
So I've found how to make it without rails. And how to link angular and rails. My plan is to learn both seperately then add. Will that work?
Sorry. My words are muddled. I'm just so tired.2 -
Started working on our rails application today. Haven't used ruby before :( and there is not even a single line of comment in the entire status application!! At least a comment like "Auto-generated please don't touch" would have helped :/1
-
Suggest me projects for hobby on Ruby on Rails(intermediate level). ☺️
Anybody can join me too. Would just add it into our portfolios. :) -
I get tired of people complaining about rails "magic" it's annoying. Ok we get it, you have never taken the time to understand it's naming conversation or looked under the hood.
-
Day 6: Using webpacker for rails and react, still cant fucking figure out why am I getting one freaking STYLED COMPONENT error. As the great @AlexDeLarge said "Fuck you, Webpack, I hope your inventor dies in a fucking hotel fire!"3
-
I started using elementary OS.
Have some tips for me?
I already installed chrome, ruby, ruby on rails, configured git and gitlab. -
Ive never been able to use rails console because I could never resolve an error.
I spent about a day on three separate occasions trying to fix it.
The last time I tried, I gave up and decided I would just live without rails console.
Its been months now and I decided to try, just for the hell of it.
It works?
It works!!
Why does it work now and not before?! -
It’s a tie between every Ruby-On-Rails project I have ever seen that has been in production for more than a year...
So much goddamn magic -
Was using node for a side project, but then I was like ehhh I could finish this but using js on the backend is kinda sad, and ive worked with Django before so I figured oh maybe, python would be a step above js, but still not satisfied. I started following a guide for PHP and doing research and I almost vomited. Then I start following a guide for Ruby on Rails, which I am now wondering where the fuck ive been ignoring it for years. Now I'm "on rails" and typing this on a train teeheeehee6
-
I want to build a blog. Which language do you recommend me to use? Which is better and why?
I know MEAN, Rails, PHP... But I just can't decide which one to use. I don't wanna use any wordpress-like app (joomla or any other thing).
Thanks! :D10 -
What's your opinion on Ruby on Rails vs Java?
I'm honestly leaning towards Java for no other reason than look of the code and the fact that it's what my school teaches for comp sci.7 -
From time to time, there is time to code with imperial Star Wars music. Every time you have to have the feeling of building something bigger !
-
Today, I started a new project with Rails. I used always an own auth implementation, now I thought I'll give devise a try. Hell... the documentation is bad, really really bad. I really don't know why people are using this and don't write this by themselves. Anyway, I kicked devise and write it again by myself.8
-
I leave Ruby/Rails awhile to learn front end JS.
Come back after 2 months, can't remember a single thing, and first CLI command I type gives an error. -
I've just discovered https://asciinema.org/.
Does anyone know other cool platform like this?
I was wondering if there is something generic for casts like Rails Casts or Vim Casts.2 -
Discourse is a overly complicated software, could have been so much simpler without losing any of its feature. Installation sucks, development sucks and ofcourse their choice of using Rails sucks big time. Hoping Flarum will fix the issue of pathetic forum softwares.
-
I know Ruby but I never do Rails, and I want to get started. Should I start with Rails path straight away in The Odin Project? Or should I find other resources to get started instead?
-
# rails manage.py runserver
Usage: ...
# python run server
/use/local/opt/python/bin/python2.7: can't find '__main__' module in 'run'
# npm server
Usage: npm <command> ...
# webpack s[TAB]
...
# [TAB]
...
# ./just_fckn_run_pls.sh
zsh: no such file or directory: ./just_fckn_run_pls.sh
# DO IT
zsh: correct DO to do [nyae]? n
zsh: command not found: DO
# exit
Thank you. Come again!
-- Dr. API Nahasapeemapetilon
============= Broken Pipe =============
10 GOTO PUB -
So I've been working with a Ruby DSL my colleague wrote for our rails app that builds app flows represented by data using migrations, which are consumed and rendered by the frontend. So data-driven UI.
It's very solid in prod, so we're running with it, but it can be hard to work with because everything is built using migrations - for example, the one signup flow we have spans across 7 migrations that add/change/remove components in the flow, change decision logic, etc.
I'm building a particularly complex one and can't decide which development method is better. I can either
1. write the flow in one huge migration, then change as needed - keep rolling back, resetting and testing until it works, or
2. increment changes and additions in multiple migrations across multiple pull requests, such that the final product spans across about 10-12 smaller migrations
Which one?
Both are super icky to me but I'm leaning toward 1. At least all of the shit would be in one place and would make sense without needing to switch between 10-12 files to see where shit is being defined, changed, etc. because it reads chronologically.3 -
Just a quick question: do you think investing in Ruby/on Rails is a good choice? I really like the language, but every time I mention it I feel like an alien.3
-
Imma Jr. Web developer (Ruby on Rails) working here. I've got time at home, so what should i learn?
1. Go for mob app development?
2. Advance my development skills.
(I'll be moving soon to UAE, there are many senior level jobs but not Jr. and more mob app devs jobs than web devs)
Cheeers!1 -
Why does rails have validation at the model layer? Isn't that what the table schema/migration is for?4
-
Hi guys. I wanna start a new personal project for web development. Actually i code in Rails for work and i want to try something different, Easy to learn but able ti manage any type of website and web-app. Any suggestion?5
-
What did I do while down for the count with Covid?
* Setup a static React site
* Hosted the site at Cloudflare Pages
* Protected the page through CF access
* Extracted the JWT
* Setup a Rails API to validate the token
Now I have static React UIs with a nice rich API backend.2 -
QUESTION RAILS + FRONT END, COME INSIDE AND TAKE A LOOK.
In the last months I started learning Ruby on Rails because I'd like to switch my job.
I developed few small projects from The odin project and today I was trying to implement Bootstrap inside my Rails app (simple flight booker) and I had several problems.
Chatting with other Odiners, they confirmed rails+bootstrap is not an easy combination.
Sooo here my questions:
1) what would you suggest to use with rails to create the frontend?
2) what would you suggest to use to create simple websites/landing pages? WordPress?
Thanks and regards!5 -
Rails views are not meant to have a ton of logic, local variables and 3 or 4 levels of if/else nesting. That's what presenters, view models and assorted other patterns are for. Or helpers, if you really have to.
Yes, this codebase is so packed with legacy it still runs Rails 2.3, and there's no plans to upgrade it, but that's no excuse to keep writing code like it's 2008. MVC does not mean all code must fit in a model, a view or a controller, ffs.1 -
Deploying an app on heroku when using ruby and rails on the backend and AngularJS on the front end is just a pain 😭
Just thought I'd share my feeling about it!!! -
I'm seeing the rails intro by the creator and being honest, I'm not sure if all the abstraction is a really good thing or a really bad thing.1
-
Rails 6 needs Webpacker needs Yarn, Needs NodeJS, needs Blah Blah Blah. Hello folks. Web dev in 2020 is crappier than it was in 2017!5
-
A time when I struggle HARD with a PHP project because I still was learning it, so I asked on one of the worst french forum (without knowing its reputation), and I found one guy who helped me a LOT, then helped me outside the forum (Skype), and since then we remained friend and I taught him Ruby on Rails 😊
-
I’ve been building event-based systems for a few years.
Now I am with a company building MVC apps with ruby-on-rails. (Well, actually the V is handled by React)
To all the the good Rails developers out there:
What advice do you have to getting into this thing very fast. I’ve got video courses from UDemy and the docs but are there any hidden diamonds in the rough out there I should check out?5 -
How much of a fucking faff is it trying to deploy a rails app to ElasticBeanstalk?!
Brand new instance and it's got no fucking clue what Bundler is, installing gems (looking at you, Nokogiri,) is about as difficult as pissing stones and don't get me fucking started on Webpacker and asset pre-compilation.
DEPLOYMENT SHOULD NOT BE DIFFICULT.2 -
Ohai devrant :D
I've been wanting to learn Ruby (specifically, Rails). Can any of you recommend a good learning resource for someone coming from a front-end / ReactJS background ?6 -
If you've ever worked with Rails I think you know the problems that can be formed by the AssetsPipeline : c
-
Rails after_create callback hooks... ofc callbacks with a name starting with `create_` get ignored1
-
okay let's put a platform tag at the end of a gem in the gemfile, because it only works when you don't use the mingw platform on windows:
gem 'eventmachine', platform: :ruby
so far so good. Now lets remove the gemfile.lock and let bundle rebuild the dependency tree again (to make sure nothing gets left there):
bundle install
Resolving Dependencies.....
...
Fetching eventmachine 1.2.7 (x64-mingw32)
...
Why bundle, why?? :(
Now to fix that, i have to:
gem uninstall eventmachine
and:
gem install eventmachine --platform=ruby
every fucking time.4 -
Web developers I'm doing a quick poll for a story in writing and I'm curious what development platforms do you use and why do you use it? This can be a CMS platform like WordPress or rails for a web application or even weebly for a WYSIWYG. just curious how you all think and why. Thanks in advance!7
-
Just letting y'all know, the Michael Hartl books "Learn enough to be dangerous" are on sale. These the items I used to acquaint myself with Rails, to me they are good, maybe others have more experience with them and can recommend better, but to me I like em.4
-
Just asking for an opinion, I'm gonna do a project. Which one would you guys recommend MEAN or Ruby on Rails? I just want to do this project for fun and as a side project I know somewhat node js but RoR seems fun so what will you guys recommend??8
-
"This is exactly what makes Rails a ghetto. A bunch of half-trained former PHP morons who never bother to sit down and really learn the computer science they were too good to study in college. " - **Zed A. Shaw** source - http://zedshaw.com/rants/...3
-
Working with rails in ci/cd environment is always soo painful. Developing is a joy, but operating it is the pure horror :'(3
-
May have had duplicate model names in a small rails app. Worked in development, Production? Not so much. So really, who's fault is that?
-
Company is giving me whatever I need to learn Rails, I'm like 3/10 on skill & ability in it. What resources should I look into?3
-
Programming languages / frameworks you dominate? Me:
-Rails / RoR
-C/C++
-PHP / laravel
-Javascript / jQuery / Backbone etc..
- Python / django1 -
Oh, hi "metaprogramming" (PHP in runtime), long time no see. Which reminds me why I ended up hating Rails & Ruby so much back then.
-
Disclaimer: I am relatively new to this. Feel free to use a tone you'd otherwise use to explain to a 10yr old.
I am trying to run a rails app on docker. I came across permission errors while I trying to edit some of the files. After a couple of searches, I found out it is because docker, by default, creates files as root. I have been reading for a while now and I can't, for the life of me seem to understand how to implement USER instruction as recommended in the docker documentation.
Here's a link to my dockerfile https://github.com/Melvin1Atieno/....2 -
As an Elixir developer , would like to code in Rails , but the setup for rails is really painful.
Well at least in elixir phoenix are much more simple.
Is there a better way for the installation of rails?3 -
I'm thinking of starting to learn ruby on rails (why? I dunno I guess I got too much free time). Does any of you fellow devs has any advice or good resource material to suggest?1
-
I've got an idea for a site I'd like to make, nothing complicated, just a little project to open source and show what I can do. I primarily use Rails and React, but this project could be done in just React with a Firebase (or similar) backend. My question is, do I make a Rails API just to show some of my rails code, or go with what I'd recommend a client do and go with Firebase? Thoughts?2
-
PM2 is one of these tools that just works. (and I'm not even using to run the interpreter it's supposed to be used with.)
pm2 + rails = <31 -
Spawn sandbox console
Make change for client (gui bugged) on Friday
Listen to complains after weekend why bug appeared again... -
DEBATE:
where do you deploy your web applications (node/rails/etc) on a linux server?
/srv -
/opt -
/var -
/usr/local -7 -
Hello, can anyone help me solve this issue? I cant find something about it anywhere
https://stackoverflow.com/q/... -
I’m interested in learning Ruby on Rails. I’d like to know if I’m wasting my time with learning it?6
-
Please I need advise on new technologies - Language, framework to learn? Currently I am proficient in Ruby,JavaScript - REACT JS/REDUX/ RUBY ON RAILS/ for web application.
Please you suggestion will be very helpful 🙏🏻5 -
Poll: what is your favourite web stack?
server:
Meteor/Laravel/Rails/NodeJS
client:
React/Angular/Vue/Blaze for meteor
There are differences. But let us know which stack helped you most?2 -
Thanks monkey patching, now I remember why I hate Ruby so much.
Compare https://github.com/ruby/ruby/... with https://github.com/rightscale/...
I wonder how the fuck it even works. Also I'm amazed by countless hours of labour wasted digging through this pile of shit. (BTW thanks JetBrains for making it a bit less miserable)
Oh, and someone did monkeypatch Object#try! (which is also a monkeypatch by active_support) and then replaced all `#try` calls to `#try!`. WHY.JPG. Also how the fuck did it pass code review?! -
RubyGems had to have SSL configuration errors for right when I'm working on a demo rails project for a firm 🙃🙃🙃 Got it working, but still
-
does anyone knows how the FUCK to integrate Rails with MidTrans?
I don't hate rails, I just don't know how the FUCK to integrate it with my local payment.2 -
I have just allowed '*' on the rack-cors host configuration. Yiiiiihhhhaaaaa.. no cors problems on Rails again.
But hackers will go fuck my api. -
Ever had to switch out a whole serializing layer in an API? Damn that's a lot of work :(
At least the 1952 tests are written well... -
!rant
Tldr check out http://guitarprohub.mrstebo.co.uk/
And ignore the stats on the first page. That is my next job to track downloads and searches 😄
I have never been taught how to "plan" projects, but with a small plan I managed to get this site running in about a 3 days (in between having to look after the kids!) only running on a free heroku instance for testing.
If anyone wants to get their hands dirty with the code then let me know. Not a pro at rails yet, but from the stats in new relic it seems to be running pretty quickly! Even with contacting an external site it was only taking 2ms to load a page of tabs! -
Usually I write code in Rails and usually what I happen to rails are vanilla PHP systems, I think I have some super natural knack for finding very old systems that do strange things.2
-
Should I go for freecodecamp or app academy open or some other free resource to learn full stack web development. Freecodecamp's explanations are starting to get over my head. App academy open seems great except they teach ruby on rails before teaching MERN stack and there are only three reviews on the internet I could find12
-
Php : I am the best of the best for web application and server side scripting!
Ruby on Rails :REALLY? -
Now make a new project in Django... Ok some file autogenerated and now I'll start.
Now make a new project in Ruby on Rails... Ok autogenerated a fucking army of file?!?!? Why??? It's overwhelming!!! Where can I start??? -
As someone with a pretty solid knowledge of Php I genuinely have no clue why Ruby on Rails baffles me as much as it does. This is going to be a long evening...3
-
Hey guys! From a Ruby on Rails Restful API programer’s perspective which should I learn? Scala or Golang? Why do you like Scala/Golang? Do you use any frameworks? Why should I choose Scala over Goland or vice versa?
Many thanks! o/5 -
They asked me to build a small website they will embed in a native application with some web wrapper in Android and iOS.
But also asked me to build a login web service that will return a JWT. Done.
They want to do a native code login form that opens up the web wrapper with my small website already logged in using the login web service.
I have no idea how to proceed in the backend.
At first i tried using postman with a POST request to the sessions/sign_in route and sending a form with the authenticity token and the email and password; but CSRF stopped me. I don't want to turn it off because of reasons.
Now i am wondering how to use this JWT to generate a cookie with a session inside it that they can use in the web wrapper.
Any help would be appreciated :)4