Re: [Rails] Re: DragonFly Object not found in Production

2012-11-08 Thread enrico stano
n SO http://stackoverflow.com/questions/13237954/wrong-urls-from-relative-links-deploying-to-a-subdirectory many thanks for your help! Il giorno mercoledì 7 novembre 2012 15:11:24 UTC+1, Peter Hickman ha scritto: > > On 7 November 2012 13:27, enrico stano >wrote: > >> so... >> >>

[Rails] Re: DragonFly Object not found in Production

2012-11-07 Thread enrico stano
nt? I was following the Passenger official guide to deploy a Rails 3.x to a subfolder. Thank you Il giorno lunedì 5 novembre 2012 19:19:36 UTC+1, enrico stano ha scritto: > > could please anyone help me with this issue? > > http://stackoverflow.com/questions/13237954/object-not-found-in

[Rails] DragonFly Object not found in Production

2012-11-05 Thread enrico stano
could please anyone help me with this issue? http://stackoverflow.com/questions/13237954/object-not-found-in-production thanks, enrico -- · Enrico Stano · · twitter @enricostano · skype ocirneonats -- You received this message because you are subscribed to the Google Groups "Ruby on

[Rails] rails-i18n and date_select issue

2012-11-04 Thread enrico stano
Hi, could please anyone help me with this issue? http://stackoverflow.com/questions/13219204/rails-i18n-date-select-error Many thanks, enrico -- · Enrico Stano · · twitter @enricostano · skype ocirneonats -- You received this message because you are subscribed to the Google Groups "

Re: [Rails] SyntaxError in Posts#index

2012-11-01 Thread enrico stano
from the official guide: http://api.rubyonrails.org/classes/ActionView/Helpers/UrlHelper.html#method-i-link_to Classes and ids for CSS are easy to produce: link_to "Articles", articles_path, :id => "news", :class => "article" # => Articles Il giorno giovedì 1 novembre 2012 09:51:33 UTC+1, No

[Rails] Re: New to Ruby and Rails and confused with Routes..

2012-10-20 Thread enrico stano
Hi, here you could see what 'resource :something' will do in config/routes.rb http://guides.rubyonrails.org/routing.html#crud-verbs-and-actions for example it creates the route: GET /photos/:id show the ":id" part will populate the params[] hash in the controller with an id so in the control

[Rails] CanCan load_resource get a nil resource

2012-10-15 Thread enrico stano
Hi, I've opened a question on StackOverflow regarding #load_resources and a create action in UserController: http://stackoverflow.com/questions/12882284/load-resource-get-a-nil-resource Could anyone please give me some hints? thank you! enrico -- · Enrico Stano · · twitter @enrico

Re: [Rails] devise validatable and password_confirmation presence

2012-09-28 Thread enrico stano
o all necessary validations on your > original field, check if it is identical with the confirmation field > and you are done… > > 2012/9/28 enrico stano : >> Hi, >> >> I was writing some tests when I discovered (god bless testing...) that my >> User model, that use D

[Rails] devise validatable and password_confirmation presence

2012-09-28 Thread enrico stano
Hi, I was writing some tests when I discovered (god bless testing...) that my User model, that use Devise, doesn't validate the presence of the :password_confirmation field. I was expecting that adding :validatable to the Devise option would include the presence validation for this field too.

[Rails] Multifield/range validation 2: highlighting fields

2012-09-16 Thread enrico stano
errors.add How could I do it? It's possible? many thanks for the help, enrico -- · Enrico Stano · · twitter @enricostano · skype ocirneonats -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group,

[Rails] Re: Dragonfly and Zip uploads

2012-08-09 Thread enrico stano
Il giorno giovedì 15 settembre 2011 15:26:22 UTC+2, Walter Lee Davis ha scritto: > I'm poring through the Dragonfly source code right now, trying to get a > handle on how to apply the following technique there: > > Client uploads a Zip archive containing N images, PDF files, text files, etc. > W