Why after I switch controller and switch back again , the form submit button Failure?

13
General
after I switch the controller, and switch back, the form submit button Failure, if I refresh the page , it can works again. the console and network no error log.
Solved

how do i link a comment to a specific post...

2
Rails
Can someone give me an example of POST and Comment.. i did a scaffold of a blog for example but i am not sure how to integrate the part where you can link a comment to a specific post.... COMMENT...

SimpleMDE & RedCarpet

5
Gems / Libraries
So i have set up my forum with simpleMDE and i'm using RedCarpet to parse the markdown. Everything works great except when it parses the markdown, it adds extra set of `` tags before and after my p...

How do I rollback a database migration and then update it

1
Rails
Hi I have added a column ( t.time "usual_start_time") to an exisitng table called Areas. (create_table "areas",) create_table "areas", force: :cascade do |t| t.string "location", ...
Solved

IFTT

1
Gems / Libraries
Hi Go Rails Community! Would any of you ever looked or seen a project/ tutorial on IFTT and rails app connection? I would be interested in directions in terms of going deeper? I know i have to read...

How can I subscribe a user when creating a new project?

7
Ruby
**How can I subscribe a user when creating a new project?** I'm having a hard time on the `create` method. Currently this is my code: ### Projects controller ```ruby def create @project...
Solved

Does anyone have tips on setting up redis and sidekiq on a Digital Ocean ubuntu 16.04 droplet?

5
Rails
I have no trouble setting up redis but for some reason I can't get sidekiq to work. I can get sidekiq and redis to work locally on a mac using brew but not on a Digital Ocean Ubuntu 16.04 server. ...
Solved

Edit Data on same page

2
Rails
Hi there guys, I would like that you help me found a tutorial to edit data on the same page and save to database.

link_to question

1
Rails
I'm working on a project management app that has a dashboard which links to tasks that are overdue, due today, this week, next week etc. I can display the task titles fine but can't get the links...
Solved

Stripe gems: Koudoku or Payola

4
Rails
Has anyone used either https://github.com/andrewculver/koudoku or https://github.com/payolapayments/payola ? If yes, are you able to give any feedback regarding ease of use, ability to customise, e...
Solved

undefined method `service_path' when adding best_in_place

1
Rails
I have an application that has customers and services. Customers has_many services and service belongs_to customer. In the customer show page, I can add or delete services. But I can not edit servi...

Nested Forms Tutorial: How do you display the Tasks in the Project Index and Show Views?

2
Rails
I am trying to display the Tasks on the Products#index and get Type Error in Projects#index "can't cast Enumerator" How can I display attributes from tasks on the Products views? Here's my code...
Solved

Expanding beyond a basic Rails CRUD site.

1
General
So I've got a fairly basic CRUD style rails app, which has a list of `Gins`, `Distilleries` and and blog `Posts`. I'd like to expand it quite significantly in the following ways: * **Add authen...

Writing Tests for Scheduled Blog Posts Discussion

1
General
So nice!, what do you think we could use RSpect, TestCases or minitest?
Evan Yost replied

How To Create A Gem For Frontend Javascript And CSS Libraries Discussion

4
General
Thanks for posting this video! it really helped me with creating my own gems. here is the last one https://rubygems.org/gems/aw-highstock_rails for pushing it to https://rubygems.org/ i used `gem ...
Marco Beffa replied

Inline Editing with Turbo Frames in Rails Discussion

5
General
How would you abstract the polymorphic path if you wanted to use the inline edit/fields partials both in forms that are namespaced like in an admin route (e.g. a form at admin/settings/show) but al...
Jeremy Bray replied

Share scopes/nested routes/inherited resources?

0
Rails
I'm in the process of learning Rails (loving it so far) and my play project (A task list, obvs) is structured a little like this: Task -> belong to project/project has many tasks Task has scope...

Looking for Sr. RoR developer/consultant for SaaS web application

3
General
Greetings! I currently work for an agency that has developed an in-house project management solution in RoR. We are looking for a person and/or team that can support and guide/shape the application...
ViolentLeopard replied
Solved

Template Locals in Rails 7.1 Discussion

5
General
This is a great addition to Rails. It makes partials feel a lot like calling methods with required and optional arguments.

How to solve the human varification error in a website?

1
General
I am working on a client website, and the problem on human varification is appearing again and again, does any one know the solution. here is the page link which faced the most errors.

Want to stay up-to-date with Ruby on Rails?

Join 92,299+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.