I am wondering if it is just my lac开发者_Python百科k of understanding. I have a action mailer that using a bunch of asset via the image_tag and config.action_mailer.asset_host in the config. As I am
I\'ve been searching through the Devise RDocs, Google, on this site for answers to my question, but no luck.
What I want to do is basically have a user obtain the lock on a record and have it for a specific amount of time so they can make changes to it, like wikipedia. So lets say a wikipedia article gives t
I\'m using a link_to to create an object in my Rails 3 app. Searching has given me the proper way to use link_to with the :post method, but I\'m wondering if using link_to to pass in a name value for
I Have a model \"Msg\" and it has a content as a string and a username as a string as well at the moment all my Msgs have their content Lor开发者_运维知识库em Ipsumed and I\'d like to sort them out
I have a Comment model with the acts_as_nested_set enabled, but when I try to do something like this (for nested comments), i receive the error \"comment_comments_path not found\", presumably because
In my vote system, i have the input tag of the \"expire_at\".and what i want to do is that fill the input tag dynamically with the date.the date is 7days later.
My team hacked together some style sheets using Adobe Muse. I\'ve included those in my assets folder and am able to serve them just fine.
I am using the acts_as_list gem but when creating new Object the position should automatic increase in size and order position ASC.
I have a post model and an upvote model. upvote.rb class Upvote < ActiveRecord::Base has_one :user belongs_to :post