Displaying 8 results from an estimated 8 matches for "bradwrage".
2012 Nov 01
2
SyntaxError in Posts#index
getting this error
compile error
/Users/bradwrage/webapps/blog/app/views/posts/index.html.erb:5: syntax error, unexpected ''=''
...w Goal", new_post_path, class="btn btn-success" );@output_bu...
^
/Users/bradwrage/webapps/blog/app/views/posts/index.html.erb:7: syntax error, unexpected kD...
2012 Sep 23
6
Missing template projects/index, application/index ?
...g Projects can create a project
Failure/Error: visit ''/''
ActionView::MissingTemplate:
Missing template projects/index, application/index with
{:handlers=>[:builder, :coffee, :erb], :locale=>[:en], :formats=>[:html]}.
Searched in:
* "/Users/bradwrage/webapps/ticketee/app/views"
# ./spec/integration/creating_projects_spec.rb:4
Finished in 0.10653 seconds
1 example, 1 failure
Failed examples:
rspec ./spec/integration/creating_projects_spec.rb:3 # Creating Projects
can create a project
Randomized with seed 62008
--
You received th...
2012 Oct 31
5
css background not showing
Hi all,
for some reason adding the following is doing nothing...
.post.hover {
background: FAFAFA;
I''ve got this in my posts.js coffee file
$ ->
$(''.post'').hover (event) ->
$(this).toggleClass("hover")
and my index is
<% @posts.each do |post| %>
<div class="post">
<strong><%= post.title %></strong>
2012 Oct 23
2
SyntaxError in Posts#index ?
For some reason getting this... Any ideas?
Extracted source (around line *#13*):
10: <%= link_to "Show", post %> |
11: <span class="admin">
12: <%= link_to "Edit", edit_post_path(post) %> |
13: <%= link_to "Delete", post, method: :delete, data: {confirm: "Are you sure?"} %> |
14: </span>
15:
2009 Mar 11
1
NoMethodError for select_tag
Hello there. I am following a tutorial with rails 2.1 and I have come
across a problem where
<%= f.label :artist_id %><br />
<%= f.select_tag(:artist_id, options_for_select([[''choose one'',
'''']] + @artists.collect {|art| [art.name, art.id]}, @album.artist_id))
%> (Old artist info:<%= @album.artist_old%>)
gives
undefined method
2012 Oct 04
0
js.coffee file not working correctly?
Here are the contents of my file , however when I check the console in my
browser I get nothing.
>
> $ ->
>
> $(''.status'').hover (event) ->
>
> console.log("Hover triggered")
>
>
In my terminal i''m getting this here:
> Served asset /application.js - 304 Not Modified (0ms)
>
Any thoughts?
Thanks
--
You received this
2012 Dec 16
2
css background image not working
Hello,
I''m trying to set the background of a page to an image I have in the
assets/images folder in my rails app.
However, for the life of me I cannot get it to work. When I open up and
inspect the element I keep seeing in the resources that the file cannot be
found with a red "!" next to the image.
I have tried different paths still no avail...
../images.bg.png
2009 Apr 04
2
NoMethodError in PublicController
Hello,
I''m following a tutorial with a public controller, line_item model,
and cart model. When I try to add an item to the cart I am getting an
error
NoMethodError in PublicController#add_to_cart
You have a nil object when you didn''t expect it!
You might have expected an instance of Array.
The error occurred while evaluating nil.<<
Here is my code