> 2013/5/7 Colin Law
>>
>> On 7 May 2013 13:17, tamouse mailing lists
>> wrote:
>> > On Tue, May 7, 2013 at 1:08 AM, Maddy wrote:
>> >> Hi Folks,
>> >>
>> >> My search fields,
>> >>
>> >> Firstname*
>> >> Lastname*
>> >> MI - Middle initial
>> >> State*
>> >> ID
>> >> Birthday
>> >>
>> >> when p
Theoretically the picture should show up if you put it into
/app/assets/images/
But there might probably a problem with your version of sprockets, some
rails versions are using very old sprockets versions, so please tell us
which rails and sprockets version you are locked to (Gemfile.lock) if my
h
I had a similar problem. I changed path of the desired file to start
with RAILS_ROOT (Rails.root on 3.x I think). and that fixed it.
Norm
On 05/08/2013 07:07 AM, Gerald M. wrote:
Hi,
running our app from its application folder /app via
script/server -p
works fine.
Starting the rails serv
Sorry, should be:
questions.js.coffee:
$('#little_image').click ->
if little_image.style.display == "block" # Hide little image/show
big image
$('#little_image').hide()
$('#big_image_div').show()
$('#big_image').show()
Both $('#big_image_div') and $('#big_image') cause th
The generated HTML is -
So I placed the image there too, but to no use.
Do I have to tweak in config>environment folder
--
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
I would use the inspector in the browser and see where the src is pointing to.
That will give you a clue as to the path it is taking.
Based on your email It **should be pointing to: src="/images/Smileimg2.jpeg".
Also, checkout your image file name and make sure your casing is correct.
Person
Hi,
I am new to rails and developing my first application.
At one point I have to display image. I am using-
<%= image_tag("Smileimg2.jpeg", :height => 185, :width => 313) %>
BUT image is not showing in the browser. My image is in public/images
folder, as well as in app/assets/images folder also.
P
also, could you create gist with your code? gist.github.com
Matt
On May 8, 2013, at 3:27 PM, buyzlots wrote:
> Your coffeeScript looks fine, I don't think that error is in reference to
> that as your coffee references '#big_image' and not 'big_image_div' what is
> 'big_image_div'?
> On May 8
Your coffeeScript looks fine, I don't think that error is in reference to that
as your coffee references '#big_image' and not 'big_image_div' what is
'big_image_div'?
On May 8, 2013, at 1:22 PM, Dave Castellano wrote:
> Hi,
> I'm an amateur learning Rails, and having trouble understanding how
Hi,
I'm an amateur learning Rails, and having trouble understanding how to
include different jQuery selectors in the same scope since Rails 3.
eg How do I include $('#big_image'), which is on the same page as
$('#little_image'), in the scope of of the following?
questions.js.coffee:
$('#little_
Ok, I found the solution. I compile assets with Heroku.
Since I use Windows and there are some problems with Uglifier under
Windows, the option:
>> config.assets.compress = true
breaks down local precompilation. So I decided to compile my assets
using Heroku because Heroku seems doesn't use Wind
Just a hunch, but for starters index is a reserved mongoid word so for starters
try changing your class name.
Regards,
David
--
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
Just a hunch, but for starters index is a reserved mongoid word so for starters
try changing your class name.
Regards,
David
--
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
I want to to test precompilation on development mode.
I set:
config.assets.digest = true
config.assets.debug = false
Then I run:
rake assets:precompile:all RAILS_ENV=development
All works, assets are precompiled but comments are not removed.
What options should I provide to make it to remove comm
sree ilapakurthy wrote in post #1108220:
> What do you knew about virtual attriburtes in rails ? Generally we can
> get
> idea about attr_accessible and attr_accessor
>
> so what these two can do . i found the difference between these two from
> this blog. Very useful plz check it
>
http://mywayon
Hi,
running our app from its application folder /app via
script/server -p
works fine.
Starting the rails server (2.3.17) as a daemon via
cd /app && script/server -p -d
(e.g. as init.d script)
our application works in parts, but on several actions throws the error
below. It seems that the
What do you knew about virtual attriburtes in rails ? Generally we can get
idea about attr_accessible and attr_accessor
so what these two can do . i found the difference between these two from
this blog. Very useful plz check it
http://mywayonrails.wordpress.com/2013/04/01/virtual-attributes-
On Tuesday, May 7, 2013 4:12:21 PM UTC+1, Ruby-Forum.com User wrote:
>
> ruby 2.0.0p0 (2013-02-24 revision 39474) [x86_64-darwin12.3.0]
> Rails 3.2.13
>
> I have a validates ... :uniqueness constraint on one of the attributes
> of an ActiveRecord class.
>
> In my test suite, I set the attribut
On Wednesday, May 8, 2013 10:40:32 AM UTC+1, Varun Jain wrote:
>
> I am trying to upload an image in RAILS 3 using AJAX form submission ,
> this is my code :
>
> You can't upload files over ajax (at least not without using the HTML5
File apis, which you may not be able to rely on). The usual t
On Tuesday, May 7, 2013 6:43:32 PM UTC+1, John Merlino wrote:
>
> I'm looking at the documentation:
> http://ruby-doc.org/stdlib-2.0/libdoc/net/http/rdoc/Net/HTTP.html
>
> And I notice two uses of Net::HTTP. Both are using GET requests. But
> what's the difference? When to use which?
>
>
It's
I am trying to upload an image in RAILS 3 using AJAX form submission , this
is my code :
<%= form_for(:image, :remote => true, :url => {:controller=>
'questions',:action => 'upload'}, :html => {:id=>'qimage_upload'}) do |f| %>
<%= f.file_field :image, :onchange => "$(this).parents('form
Thank you Walter.
I found 'paypal express' gem. It was helped me for Reference Transaction
Payment.
On Tue, May 7, 2013 at 10:09 PM, Walter Lee Davis wrote:
>
> On May 7, 2013, at 1:41 AM, Saravanan P wrote:
>
> > Hello Everyone
> >
> > I am using rails 3.2.8 and using Express checkout.
> >
>
I was able to drill down and access the photos inside the album by
using the following:
current_user.facebook.get_connections("me","albums", :fields => "name,
photos.fields(source)")
But i got only 25 photos. How can i restricts my limitations.
On Wed, May 8, 2013 at 3:05 PM, Maddy wrote:
>
Hi Folks,
Good day,
I need to display my facebook album photos in my application.
I used *Koala *for facebook API.
I used this query for getting my album photos,
*current_user.facebook.get_connection("me","albums")*
by using this i can get only the albums details.
*"I need my photos which i up
On May 7, 2013, at 1:41 AM, Saravanan P wrote:
> Hello Everyone
>
> I am using rails 3.2.8 and using Express checkout.
>
> The concept is, once the user confirms shipping in Paypal website, next time
> I have to bill next time payments
> automatically for that user.
>
> So in my case its work
Colin Law wrote in post #1108191:
> On 8 May 2013 08:13, Lorenz Blackbird wrote:
>>> Colin
>>
>> Console viewed the migration of all the tables. The application works
>> good and Active Record also, because I can read/write on database
>> thorugh console and application interface.
>>
>> I'm only s
in the source given, i see something like
* :conditions => ["'( LOWER (*
*(address_books.birthday) LIKE ?)'", **
*
*
*
is theres a extra quote?
2013/5/7 Colin Law
> On 7 May 2013 13:17, tamouse mailing lists
> wrote:
> > On Tue, May 7, 2013 at 1:08 AM, Maddy wrote:
> >> Hi Folks,
> >>
> >>
On 8 May 2013 08:13, Lorenz Blackbird wrote:
> Colin Law wrote in post #1108068:
>> On 7 May 2013 11:18, Lorenz Blackbird wrote:
>>>
>>> and my database keep empty.
>>>
>>> The migration is new and it works.
>>
>> What do you see if you run
>> rake db:migrate
>>
>> Colin
>
> Console viewed the mi
Colin Law wrote in post #1108068:
> On 7 May 2013 11:18, Lorenz Blackbird wrote:
>>
>> and my database keep empty.
>>
>> The migration is new and it works.
>
> What do you see if you run
> rake db:migrate
>
> Colin
Console viewed the migration of all the tables. The application works
good and Ac
29 matches
Mail list logo