Multi Model Sign-up Wizard
Ok.. here is a StackExchange post on this:
http://stackoverflow.com/questions/28007639/rails-nested-attributes-and-has-many-through-associations-not-showing-fields-fo
It has my Models etc.

8
Rails
video about sortable lists
Cool, I would love to see a video on acts_as_list

22
Rails
problem with like link in nested resource
Oh of course. If you look at your routes, there is no `POST` paths there. I think you can change the `resources :like` to be singular instead like this: `resource :like` and that will help.
In e...

4
Rails
How should I model this situation?
I think your second post outlines a pretty good storage mechanism. You obviously want to actually make that a database backed model with a `company_id` on it so you don't have to make up the metric...

3
Rails
Associating Radio Buttons With Specific Field Subsets In Rails
Fake it.
Use data tags in your HTML and when one of the options are clicked, Javascript fills out the hidden fields in the form using the data tags on the element that was clicked. Display the d...

2
Rails
Show each users each post.
So you'll need a join table between Movies and Users. Something like `UserMovie` is a standard naming scheme for that. You could also give them a name like `Favorite`.
In essence you'll do this:...

2
Rails
Trouble With Form Objects
Yep!
relevant links for this:
https://www.reinteractive.net/posts/158-form-objects-in-rails
http://robots.thoughtbot.com/activemodel-form-objects

7
Rails
Attaching a Characteristic To Multiple Models
I've got these models:
```ruby
class Firm
has_many :funds
end
class Fund
belongs_to :firm
has_many :investments
end
class Investment
belongs_to :fund
has_many :investment...

1
Rails
Pundit Scope and has_many through
I think that's because on the index you want an array of records, but on show you just want a single record.
When you pass in the array into policy_scope, it's going to call the `.where(company_...

2
Rails
Using Pundit to build in a cool gmail-feature
Although, I suppose that's best for role-based if a company has consistent roles and scopes users need. For item-based, a vaguer table would serve better:
```ruby
class UserConnection
belong...

6
Rails
Likes routing error
Haha! Glad it's working for you. I think you're right about the join table not needing a primary key, but I think when you do that in Rails, it assumes you don't create a model for it. Since we're ...

9
Rails
Deploy Rails guide confusion
ok, now I could edit the file.
As I haven't registered a domain name yet, I used 'localhost' for server_name.
Thanks Chris,
Anthony

3
Rails