NameError: uninitialized constant Stripe

2
Rails
Hello, I am receiving the following error "NameError: uninitialized constant Stripe" when I ran `Stripe::Customer.all` in the rails console. This was from following along on your class Stripe Subs...

How do I Export a CSV file where it includes all the nested attributes?

16
Rails
Greetings: I would like to export a CSV file where it includes all the nested attributes. I have an invoice model and a product model. Each invoice has many products. I am able to export to CSV fo...
Solved

Best way to build a Contact Us page

2
Rails
Hi First post so Hello World! Really enjoying this site. I was just wondering what people consider to be the best way to build a Contact Us page. I don't need to store the entered data, just em...

Any good idea how to import CSV via Sendgrid email attachment and update model/database columns.

2
Rails
Basically receive incoming daily emails, with CSV attachment, then importing the CSV rows to your desired model/database. Anyone done this before? Thanks for any input.
Solved

CMS in Rails

5
Rails
I want to learn how to build a CMS or at least a blog engine with Rails. I think that would be awesome to have a full course on something, especially for beginners like me.

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...

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

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

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...

Simple_calendar how to only show start and end date on calendar?

3
Rails
Say I have an event that starts on a given day and stretches out a month to an end date. Is there a way to only show the start and end date but do not show on the calendar the event listed for all ...

How do I share my master.key with capistrano deployment

1
Rails
After following the guide [Deploy Ruby on Rails on ubuntu 18.04](https://gorails.com/deploy/ubuntu/18.04) I still have several problems with the app. Shows me the same error when rails can't find ...
Erica McDevitt replied
Solved

Rails upgrade companies

3
Rails
I'm wondering if anyone has any experience with any of the Rails upgrade companies that are out there? We're looking to get all of our apps on the latest and greatest and trying to decide if hiring...
robert replied

How can I use summernote editor in rails?

1
Rails
I am making a notebook app and wanted to implement the summernote text editor, the docs for summernote-rails are nearly 3 years old, and I could not find any other proper guides to implement it. An...
Briton Otieno replied

Autocomplete search across multiple models with results from each model

1
Rails
I'm building a simple wiki app and would like to introduce autocomplete search using Searchkick or pg_search. In the search box I'd like to be able to do a search across both an `Article` and `Cat...
Colin Ambler replied

Best practices for structuring reusable frontend components (coming from Angular/React) ?

0
Rails
Hey I'm an Angular developer diving into the Ruby on Rails, and I'm trying to figure out the best way to structure reusable frontend components, like buttons, in a Rails project. Especially because...
Cengiz Gürtusgil posted

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

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

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