Ruby on Rails Community Forum

Deploy Ubuntu 12.04 Precise Pangolin Discussion

104
General
Great tutorial!Just one thing, the Gemfile it's wrong, it's pointing to the wrong repository of each capistrano implementation. This should work:gem 'capistrano', '~> 3.0.0'gem 'capistrano-bundl...
Someone replied

Rails 4.0 with MongoDB and Mongoid Discussion

13
General
> rakerake aborted!Don't know how to build task 'default'(See full trace by running task with --trace)
Someone replied

Rails 4.0 and Devise With Strong Params and Custom Fields Discussion

7
General
Short and simple. Thanks a lot. I've been looking for a solution all morning.
Someone replied

GoRails | Episodes

3
General
keep it up guys! thanks for the help.
Someone replied

Trying Out Bootstrap 3.0 Discussion

4
General
Hi, I've been trying to install bootstrap 3 with rails. I keep getting this issue when I run the server:/.rvm/gems/ruby-1.9.3-p385/bundler/gems/bootstrap-rails-ff63b9787a34/lib/bootstrap-rails/engi...
Someone replied

Lock Up With Devise by James Jelinek

2
General
Awesome and well timed, I was about to start looking at devise tonight! :)
Someone replied

Setup Ubuntu 13.04 Raring Ringtail Discussion

66
General
Hi there,when installing ruby using rbenv, at the step of "rbenv install 2.0.0-p195", it shows the results below:Downloading ruby-2.0.0-p195.tar.gz...-> http://ftp.ruby-lang.org/pu...BUILD FAILE...
Someone replied

Orphaned Children by James Jelinek

0
General
Another useful tip is to check out my Hyper Paranoid gem which instead of deleting a record, it sets a deleted_at attribute. That way you can recover deleted records if you need them later. https:/...
Chris Oliver posted

Uninitialized constant ActionDispatch::Session::EncryptedCookieStore Discussion

1
General
Thanks a bunch!
Chris Oliver replied

Announcing GoRails Discussion

10
General
Really looking forward to seeing this move forward. I'll be sure to hang around to help with workarounds on Windows systems.
Chris Habgood replied

The best way to use permissions in serializers

0
Rails
I want to show the attrib, using cancancan in serializer model, it is possible ? what is the good practices for that, thanks !
Jose Aguirre posted

How do I post a client ID in a different controllers view?

1
Rails
Hello, I am so very new to Rails that my question might seem odd. But I will try to be as explicit as possible. I have a controller named clients, It shows <%= @client.client_identifier %> - ...
Simon Cooper replied

Using webpacker in Rails Engines?

6
Rails
I'm making a pluggable CMS engine and want to keep the JS/CSS (preferably by writing Tailwind components) in the engine. It works great with models, controllers, routes and the asset pipeline, but ...
Angel Garcia replied

How to manage upstream with ssl?

0
Rails
I am trying to deploy with nginx puma using upstream so should i use ssl connection with my upstream https://my_app upstream my_app { server 127.0.0.1:9292; # or the port you co...
naveen kumar posted

How do i implement load more comments or reply

1
Ruby
Chris i followed your series on implementing commenting systeming using polymorphic is true. Now that i got that implemented. i want to know how do i make this work with will paginate for example.....
khemlall mangal replied

Saas-Mixins

1
Ruby
I am getting an error **undefined mixin display** while executing solidus multi_domain in my ruby application. Please can anyon help me out..
Alan Reid replied

Multitenancy with different account types

0
Rails
I'm just getting started on a multitenant application for the lending / finance space. I've looked into Apartment, Milia, Act_as_tenant, etc. but none seemed to really fit what I'm trying to do. ...
Robert Farese posted

How do I pass an id to a foreign controller?

2
Rails
A very basic question I know, but I'm really struggling. If I use a link_to with the current controller's path then I get the id as a parameter but if I instead use a path to a different controller...
Robert Farese replied

Download large files from an external server with permissions

1
Rails
I have a rails application that requires file downloading. To download the files, permission is required - in this case only a logged in user can download the files. Currently, this is working as t...
Robert Farese replied

Error with the Scheduled Posts Episode

4
General
I've jsut been going through the https://gorails.com/episodes/scheduling-posts episode, but have ran into the issue of `undefined method 'published_at?'` in my helper, when I try to load the new fo...
Simon Cooper replied

Learning Ruby on Rails? Join our newsletter.

We won't send you spam. Unsubscribe at any time.