[Rails] Problems with Railroad

2010-12-11 Thread h0bit
Hello everybody i'm working with Railroad and i want to create the diagram of all the model in my aplication inlcuding the models of the plugins, bu when i run the command railroad -p -o modelos_completo.dot -M show me the next error: C:/Program Files/BitNami RubyStack/ruby/lib/ruby/gems/1.8/ge

[Rails] Problems with attachments

2010-12-02 Thread h0bit
Hello everybody I have some problems with an attachments. I have the next model class Profile < ActiveRecord::Base belongs_to :user before_create :set_default_icon has_attached_file :icon, { :url => "/ system/:class/:attachment/:id/:style_:basename.:extension", :styles => {

[Rails] Re: Problems with Google Maps

2010-11-05 Thread h0bit
No i'm using googl-geocode and ym4r-gm On 3 nov, 12:47, Raul Souza Lima wrote: > What are you using to work with google maps? > > Did you tried go_maps? > > https://github.com/gonow/go_maps > > On 3 November 2010 08:49, h0bit wrote: > > > > > Hello ever

[Rails] Re: Problems with Google Maps

2010-11-05 Thread h0bit
No i'm using google-geocode On 3 nov, 12:47, Raul Souza Lima wrote: > What are you using to work with google maps? > > Did you tried go_maps? > > https://github.com/gonow/go_maps > > On 3 November 2010 08:49, h0bit wrote: > > > > > Hello everybody, >

[Rails] Re: submit_tag doesn't do it anything

2010-11-03 Thread h0bit
th(profile) end so i don't know what i'm doing wrong? i thinks it's easy but don't see. On 3 nov, 17:23, David Kahn wrote: > On Wed, Nov 3, 2010 at 11:14 AM, h0bit wrote: > > I have one question for each submit i need a route in the file > > route.rb? > &

[Rails] Re: submit_tag doesn't do it anything

2010-11-03 Thread h0bit
On 3 nov, 17:14, h0bit wrote: > I have one question for each submit i need a route in the file > route.rb? > > i think that's my error. And why when i click on the submit butto redirect to the same page? > > On 3 nov, 13:34, Colin Law wrote: > > > On 3 N

[Rails] Re: submit_tag doesn't do it anything

2010-11-03 Thread h0bit
I have one question for each submit i need a route in the file route.rb? i think that's my error. On 3 nov, 13:34, Colin Law wrote: > On 3 November 2010 13:30, h0bit wrote: > > > The submit doesn't do what i want, it means that the submit doesn't > > update

[Rails] Re: submit_tag doesn't do it anything

2010-11-03 Thread h0bit
. Thanks. On 3 nov, 13:20, David Kahn wrote: > On Wed, Nov 3, 2010 at 6:13 AM, h0bit wrote: > > Hello everybody, > > > I have a problem with a submit_tag, because it doesn't work. > > > Here is the form which i want to submit. > > >  <% form_for :responsi

[Rails] submit_tag doesn't do it anything

2010-11-03 Thread h0bit
Hello everybody, I have a problem with a submit_tag, because it doesn't work. Here is the form which i want to submit. <% form_for :responsible, :url => responsibles_profiles_path(@responsible), :html => {:method => :put, :multipart=>true} do |f| -%>

[Rails] Problems with Google Maps

2010-11-03 Thread h0bit
Hello everybody, I'm working with Google Maps and i want to display a map for an event that i have in my aplicaction. When I clik on the link to view the map the bwroser show me the next fail: NoMethodError in Conclave/events#map Showing vendor/plugins/tog_conclave/app/views/conclave/events/ ma

[Rails] Re: Problems with an id

2010-10-30 Thread h0bit
Thanks i resolved the problem it was a shit that i was programming. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rub

[Rails] Problems with an id

2010-10-30 Thread h0bit
Hello everybody, I have one problem because i don't know how to pass the id of a group that i have in my application. Here is the code: I have one link to show all the blogs of the current group <%= link_to I18n.t('tog_social.groups.model.view_all_blogs'), blogs_groups_path(@group) %> and in

[Rails] View error

2010-10-23 Thread h0bit
Hello everybody, i'm trying to link a new view but it fails. Here is the code: in the view I have the next link <%= link_to I18n.t('tog_social.groups.site.view_all_blogs'), blogs_group_path(@group) %> and went i clink on it i have the next error in the browser: undefined method `blogs_group_p

[Rails] How to paginate in the same view?

2010-10-22 Thread h0bit
Hello everybody, I'm working with will_paginate and i want to know how to paginate two portlet in the same view. Because the work just like this: When i click in the next page in one portlet, it goes to the next page but in the other portlet it also goes to the next changes. Can anyone help me?

[Rails] Probles with will_paginate

2010-10-21 Thread h0bit
I have a view and in the view i want to show the blog with somo conditions. The problem is when i want to display these blogs, because they are in an array. So how can i display them with pagination? The view is the next: <% @blogs.each do |blog| -%>

[Rails] fail an url for edit

2010-10-19 Thread h0bit
Hello everybody, I have a nested form and it works perfect, and then when i want to show the fields from the nested form fail. And the navigator displays: edit_member_responsible_url failed to generate from {:controller=>"member/responsibles", :action=>"edit", :id=>nil}, expected: {:controller=>"

[Rails] Problems with select

2010-09-16 Thread h0bit
Hello to every bofy i'm working with Ruby and i havve the next problem when i want to select an option from a select. I have the next code: <%= f.label :es_pyme, I18n.t('tog_user.model.es_pyme') %> <%= I18n