In my application you: Have an admin user that signs on and that user has a role (separate model), then I use the declarative_authorization plugin to give access to certain areas.
I have a user and a profile model. One user can have many profiles. I need to access only one information from the profiles section (viz the phone number) in my user model during the user creation pro
I have a form with nested attributes that I need to place on many different pages. Not necessarily the model it belongs to.
I am using code found at Railscast 197 to create nested forms using jQuery. The challenge I am facing is that the nested model uses a file_field element, and because of this when looking at the edit v
I have a contact, and contact has_many :phones.The phones table has a column named, phones_desc, where I want to include the type of phone number the user has saved.
I\'m developing a simple rails app for my own use for learning purposes and I\'m trying to handle 2 models in 1 form. I\'ve followed the example in chapter 13 of Advanced Rails Recipes and have got it
I\'m creating a shopping cart based on the one in Agile Web Development With Rails (version 3). I have it set up where \"items\" are added to a \"cart\", then upon starting the checkout process, they
I would like to create form with text_fields TITLE CONTENT TAGS I have Post (TITLE, CONT开发者_开发百科ENT) and Tag (TAGS) model. TAGS is a single text field. What do I have to do to save TAGS to
i have a nested object like this: class Work < ActiveRecord::Base belongs_to :issue belongs_to :author
I\'m trying to create a poll object which has many answers. Each answer can have an image attached. How can I create a form that allows me to enter the question and add a variable number of answers (e