I'm a big fan of Rails on Gentoo - RoR 3.x is working great here -
http://praxis.edoceo.com/howto/rails
On Wednesday, July 7, 2010 11:58:12 AM UTC-7, Sal wrote:
I'm curious to know why Gentoo is a very commonly used distro for the
Rails community. Any reasons for this?
--
You received
Hi, I'm learning about routing and trying to solve the problem below.
Using update_scope_path in the view is routing to users/show rather
than users/update_scope, with update_scope becoming the user id.
( The goal is to change session[:question_scope] to vip when the user
clicks the button in
I would suggest doing this.
resources :users
scope '/users' do
put 'update_scope', to: 'users#update_scope', as: :update_scope
end
That might work. What I'd honestly consider is making a scope controller
and using the update action. If you don't need the others, then your routes
will look like
So I can't create an action in any controller that sets the session
variable and then call it through the route?
Can you tell me why it is going to users
/show instead of users/update_scope?
I am trying to understand how this works as well as get it working...
Thanks!
--
Posted via
mini@mini:~/Sites/music_library$ rake db:migrate
rake aborted!
couldn't parse YAML at line 28 column 6
/home/mini/my_gems/gems/railties-3.2.9/lib/rails/application/configuration.rb:115:in
`database_configuration'
/home/mini/my_gems/gems/activerecord-3.2.9/lib/active_record/railtie.rb:78:in
`block
On Sat, Feb 2, 2013 at 6:35 AM, Dave Castellano li...@ruby-forum.com wrote:
Using update_scope_path in the view is routing to users/show rather
than users/update_scope, with update_scope becoming the user id.
( The goal is to change session[:question_scope] to vip when the user
clicks the
On 2 February 2013 16:03, Haris Hajdarevic li...@ruby-forum.com wrote:
mini@mini:~/Sites/music_library$ rake db:migrate
rake aborted!
couldn't parse YAML at line 28 column 6
/home/mini/my_gems/gems/railties-3.2.9/lib/rails/application/configuration.rb:115:in
`database_configuration'
Possibly
Thank you!
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Talk group.
To unsubscribe from this group and stop receiving emails from it, send an email
to rubyonrails-talk+unsubscr...@googlegroups.com.
To
I'm doing the Ryan Bates Sortable Table Columns screencast
If the item is a table and I want to a style if the item is selected how
can I do it?
Attachments:
http://www.ruby-forum.com/attachment/8101/sortable.txt
--
Posted via http://www.ruby-forum.com/.
--
You received this message because
Hello Rails experts...
I have an interesting problem...I'm sure there are many solutions to this
but I can't seem to figure it out -
I have an existing set of HTML5/CSS3/jquery/javascript pages - no logic -
just the UI with content, etc. And I also have the schema for mysql
project. I want to
On Feb 2, 2013, at 11:58 AM, jatin.je...@gmail.com wrote:
Hello Rails experts...
I have an interesting problem...I'm sure there are many solutions to this but
I can't seem to figure it out -
I have an existing set of HTML5/CSS3/jquery/javascript pages - no logic -
just the UI with
HI william,
how exactly does chrome prompt that?
whats the view like?
is that the only line you have on your controller?
can you be a little more specific and post exactly what is the error you
get.
all the best,
Andre
On Friday, 1 February 2013 10:06:40 UTC+1, William Herry wrote:
I
On Sat, Feb 2, 2013 at 8:58 AM, jatin.je...@gmail.com wrote:
I have an existing set of HTML5/CSS3/jquery/javascript pages - no logic -
just the UI with content, etc. And I also have the schema for mysql project.
And then how about the database? Or do I need to start fresh on creating
rails 3.2.11
I have models
Airport
:name, :string
belongs_to city
City
:name, :string
has_many airports
belongs_to country
Country
:name, :string
has_many cities
and I want to search a particular airport through this association
scope :search_airport, where(:name = name, :city
14 matches
Mail list logo