Awesome, thanks for the help, i appreciate it!
Dave
On Jan 5, 3:05 pm, Craig White wrote:
> On Jan 5, 2012, at 2:27 PM, loominator1970 wrote:
>
>
>
>
>
>
>
>
>
> > Hello,
>
> > Perhaps someone knows the answer to this one, because its been
> >
Hello,
Perhaps someone knows the answer to this one, because its been
stumping me for a long time.
BTW, i'm still using rails 3.0.0, perhaps this issue is solved in a
recent release.
Here are my Models
class Team < ActiveRecord::Base
has_many :players
end
class Player < ActiveRecord:
:
>
> I use <%= javascript_include_tag :default %> with :default defined as
>
> config.action_view.javascript_expansions[:defaults] =
> %w(jquery.min rails jquery-ui.min)
>
> in my application.rb file.
>
> HTH,
> Dan
>
> On Dec 16, 3:07 pm, loominator197
ving a failure in JS
> that's causing grief. Also -- check your console in Firebug (or
> whatever you're using) and see if errors are being thrown when the
> page loads.
>
> On Dec 16, 1:19 am, loominator1970 wrote:
>
>
>
>
>
>
>
> > Yep
wrote:
> On Dec 16, 2010, at 12:48 AM, loominator1970 wrote:
>
> > Yes I am, here's what I have in the application.html.erb view, and
> > they are all in my javascript folder
>
> > <%= javascript_include_tag 'jquery-1.4.3.js', 'rails',
Yes I am, here's what I have in the application.html.erb view, and
they are all in my javascript folder
<%= javascript_include_tag 'jquery-1.4.3.js', 'rails', 'application'
%>
On Dec 15, 10:30 pm, Ray Parker wrote:
> Are you including rails.js?
&g
This seems like it should be pretty straightforward, but its stumping
me. I have a small form that I am trying to submit using jquery that
is supposed to remove an association between to HABTM models. For the
sake of argument, the models are Course and Student.
# view
<%= form_tag ( remove_
Thanks for all the input, turns out I didn't have my javascript ducks
in a row, since I'm a JS newb.
I'm going with an all jquery solution, and I needed to do the
following things:
# in the layouts/application.html.erb
# remove the line <%= javascript_include_tag :defaults %>
# and add
<%= j
Actually, its C. "I'm a dumba$$ and didn't read your question
carefully enough :)" Javascript IS turned on in my browser and
enabled in my app. I will follow you suggestion and try that route.
Thanks for the help!
On Nov 17, 2:56 pm, Colin Law wrote:
> On 17 November 201
> Is JavaScript turned on in your browser?
Yes, I have jQuery and protoype enabled in the application.html.erb
page.
--
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.
Hello,
I'm using the 'button_to' helper in the following syntax:
<%= button_to "Delete", { :action => "destroy", :id => user.id },
:confirm => "Are you sure?", :method => :delete, :class =>
'submitLink' %>
However, the confirmation is not working, its going straight to the
destroy ac
Hello,
Anyone else running into this same problem? I've come across some
posts on the subject, but none have helped
Installed:
rails 3.0.0beta4
bundler 0.9.26
ruby 1.9.1
rake 0.8.7
After creating an initial rails app, then attempting to run the
migration i get this
> rake db:migrate
> /usr/loc
Hello,
I'm having some trouble with an association between two tables in my
RoR site. It looks like Rails is attempting to truncate the name of
my model so that it can fit the normal model conventions. Any idea
how I can override this?
The error:
uninitialized constant Project::ProjectProgres
13 matches
Mail list logo