routing errors when i try to submit a comment to a post
Hi Thank you, i followed this tutorial however i am getting Routing Error when i click submit for the comment... ``` uninitialized constant Squeals ``` Rails.root: /home/ubuntu/workspace ...khemlall mangal posted
API design/routing with nested resources
Let us know how the implementation goes!Chris Oliver replied • Solved
how do i link a comment to a specific post...
Thank you Jack.. Here is the Problem, when i click on Submit for a comment, i get uninitialized constants Squeals. on my Squeal/Show.html.erb file where i show a specific or selected post U...khemlall mangal replied
Embed Youtube video in Rails app
@Zanger02, right where it says `` in ``` ``` Which would render something like: ``` ``` This assumes you're passing an `@episode` object that has an attribute named `youtube_id` -...Jacob Montgomery replied • Solved
I want to understand how basecamp separates account?
Along with what the others already mentioned, I've also found it easier to work with nested routes instead of subdomains. Subdomains used to (not sure if they still do) require additional work for...Dan LeGrand replied
How can I subscribe a user when creating a new project?
Wow! Thanks for taking the time to answer. Always so helpful Chris! :grinning:Lauro replied • Solved
ReactJS with Rails
Haven't tried the others. Found the helpers useful.Henrik Widov replied
How do I debug why my ActionCable broadcast is returning nil?
Yeah, I remember restarting everything, but yes, computers can be fickle.Matt Taylor replied • Solved
Track user's usage per month
Thanks for the thorough answer, Chris. I didn't explain it all too well. With 1. I meant simply `*_counter` columns on the User without any extra stuff going on. I feel mostly for the extra "...eelcoj replied • Solved
How do I add a default time of 6:45pm to simple form / DatePicker
would also like to know rails 5 bootstrapv4 simple_form datetimepicker solution..david gonzalez replied
You can also look at Fuelux Wizard for a multi-step form without having to track state in the controller. Wicked is good but if you just need a basic multi-step form FuelUX is great. Here's the li...shakycode replied
SimpleMDE & RedCarpet
There was a issue closed long ago about that. You can find a potential solution here https://github.com/vmg/redcarpet/issues/92Frank replied
Solutions for high memory usage in rails development or production(heroku)
@masud, thanks but I'm already familiar with AR and DB optimization. I was wondering what your caching issue was that you made mention of.shakycode replied • Solved
Workflow for TDD/BDD on Rails ?
I just want to throw in my 2 cents with regards to TDD and the workflow/practices of a development team. You're correct that "textbook TDD" states you first write specs that don't pass, then you i...Dan LeGrand replied
How do I add a default time of 6:45pm
its ok in my area model i converted this to **this usual_start_time.to_formatted_s(:time)** and is workingNeil Patel replied • Solved
How do I rollback a database migration and then update it
Hi Jack thanks for getting back ( its not been deployed but have pushed via git to a shared repo) so I have done rails db:rollback == 20170120123129 AddUsualStartTimeToAreas: reverting ==...Neil Patel replied • Solved
Turbolinks 5 issue when clicking back
Hi all, I'm upgrading my rails 4.2 app to use turbolinks 5 as per the gorails ep but I've ran into a problem. I'm using zurb foundation framework with offcanvas menu when I open the menu and ...Adam D posted
Retrieve all Project Threads where a given users has posted a Project Post
You need another table that handles assignments to threads. ```ruby # project_thread_access model # you'll need user_id and project_thread_id columns in this model belongs_to :project_thread_...Jacob Montgomery replied • Solved
Problem associating nested resource with Devise current_user method
Oh wow can't believe I didn't notice that myself lol It works like a charm now, thanks!! I'm also excited at the other takeaways from this: 1. I can pull only the ID's from objects when they...Adrian DeGus replied • Solved