[Rails] Expert suggestions: Resources for ActiveRecords

2013-01-23 Thread Manoj Monga
Hello guys, I am new to ruby and wanted to learn more in-depth about active records library. Where should I start from? Are there any printed/online books/resources I can look through? I came across to "Pro Active Record: Databases with Ruby and Rails" book authored by Kevin Marshall, Chad Pytel

Re: [Rails]

2013-01-23 Thread Jeffrey Jones
Ignore, most likely spam / virus / other bad stuff. On 24/01/13 11:38, William Herry wrote: what's that? On Thu, Jan 24, 2013 at 8:39 AM, Juan Pablo Genovese mailto:juanpgenov...@gmail.com>> wrote: http://www.4party.ro/blog/wp-content/plugins/yahool221.php -- You received this

Re: [Rails] activeldap and migrations

2013-01-23 Thread Yuichi Matsuda
hi i am on Rails-3.2.11 and in my application.rb i added following and everything seems fine. config.app_generators.orm :active_record ichy 2013/1/24 Craig White > forgot what the exact solution was but I seem to recall that I indicated > that this was a postgres migration so perhaps I

[Rails] [JOB] - Awesome Enterprise RoR Developer - NYC or DC

2013-01-23 Thread Arian Pierson
Ruby on Rails Developer New York City (Mid-town) or Washington DC Permanent, Direct hire position COMPANY PROFILE: Multi-billion dollar media organization 185 divisions and offices and 13,000 employees spread throughout the world Invested in keeping a competitive edge on world media through top-cl

Re: [Rails] Re: Rails 4: Should a HEAD request not be handled like a GET for CSRF protection?

2013-01-23 Thread Jordon Bedwell
On Wed, Jan 23, 2013 at 1:23 PM, Robert Walker wrote: > Michiel Sikkes wrote in post #1093276: >> I am running a Rails 4 app in semi-production and I constantly get >> exceptions from crawler bots that use a HEAD HTTP method, which causes >> the >> CSRF protection to kick in. >> >> Shouldn't HEAD

[Rails] Re: Rails 4: Should a HEAD request not be handled like a GET for CSRF protection?

2013-01-23 Thread Robert Walker
Michiel Sikkes wrote in post #1093276: > I am running a Rails 4 app in semi-production and I constantly get > exceptions from crawler bots that use a HEAD HTTP method, which causes > the > CSRF protection to kick in. > > Shouldn't HEAD requests normally be handled like GET requests? According to t

[Rails] Re: rails datatables refresh javascript

2013-01-23 Thread Robert Walker
Heptagone H wrote in post #1093275: > app/assets/javascripts/comments.js.coffee > [code] > jQuery -> > $('#comments_id').dataTable > sPaginationType: "full_numbers" > bJQueryUI: true > bProcessing: true > setInterval('$("#comments_id").dataTable().fnDraw()', 1000); > [/code] Take a

[Rails] Re: Bootstrap issues with RoR

2013-01-23 Thread Mārtiņš Poļakovs
In your first you have an error. You should put $ in front of ('.carousel').carousel(), like this: $('.carousel').carousel(); in jQuery "$" is an alias for "jQuery", these two lines will do the same thing: 1) $('.carousel').carousel(); 2) jQuery('.carousel').carousel(); Usually in jQuery you wi

[Rails] Re: Bootstrap issues with RoR

2013-01-23 Thread xscr...@gmail.com
Ok! We're making progress! Adding that line made more stuff work. Now - just one last quirk: // DOES NOT WORK. Mozilla says: carousel is not a function $(document).ready(function(){ ('.carousel').carousel(); }); // This works - $(document).ready(function(){ jQuery('.carousel')

[Rails] Re: hope RAILS COMMUNITY MEMBERS help me solve this SIMPLE PROBLEM

2013-01-23 Thread Matt Jones
On Tuesday, 22 January 2013 21:20:43 UTC-8, New_to_Rails wrote: > > hi > i am new to rails help me to solve this simple problem, i'm using default > sqlite db in railsi want to work and use oracle database now for > upcomming rails application here is my ruby and rails version > > rails 3

Re: [Rails] Tracking User Event

2013-01-23 Thread Walter Lee Davis
Have you considered GoogleAnalytics for this? http://www.chrisle.me/2013/01/google-analytics-for-developers/ Walter On Jan 23, 2013, at 5:22 AM, keerthi priya wrote: > Hi guys can any one help me out. Possible chances to work on it. > > On Tue, Jan 22, 2013 at 12:14 PM, keerthi priya > wrote

[Rails] [JOBS] Looking for ROR in Seattle for FTE

2013-01-23 Thread Brent Marrah
I have a FTE position for a seasoned ROR professional in Seattle. Fantastic benefits, atmosphere, and location. If you are interested, feel free to contact me at brent.mar...@modis.com. Have a great day. -- You received this message because you are subscribed to the Google Groups "Ruby on Rail

Re: [Rails] activeldap and migrations

2013-01-23 Thread Craig White
forgot what the exact solution was but I seem to recall that I indicated that this was a postgres migration so perhaps I added '-d postgresql' Craig On Jan 22, 2013, at 8:37 PM, Jean-François Rioux wrote: > I'm facing this issue too. > > Did you ever found a way to fix it? > > Thank you, > >

[Rails] wysihtml5 for rails

2013-01-23 Thread Dave Castellano
Does anybody have experience with wysihtml5 for rails? I have installed the WYSIWYG editor and it is working fine, but I'm not sure how to manipulate any of its characteristics. I want to hide the buttons on some occasions and more importantly need to set it to a read only mode on a particular pa

Re: [Rails] Re: Download XML

2013-01-23 Thread Ashokkumar Yuvarajan
I should be downloadable ie, like an attachment file. But it just opened in new tab. On Wed, Jan 23, 2013 at 6:10 PM, Frederick Cheung < frederick.che...@gmail.com> wrote: > > > On Wednesday, January 23, 2013 9:28:00 AM UTC, Maddy wrote: >> >> This works. but only in Chrome. >> I want this to dow

[Rails] Re: Download XML

2013-01-23 Thread Frederick Cheung
On Wednesday, January 23, 2013 9:28:00 AM UTC, Maddy wrote: > > This works. but only in Chrome. > I want this to download all my browsers like ie 7 8 9,firefox,etc. > > what do you mean by not working? Fred > Is there any other way?? > > Please advise. > > Thankyou. > -- You received this m

[Rails] Rails 4: Should a HEAD request not be handled like a GET for CSRF protection?

2013-01-23 Thread Michiel Sikkes
I am running a Rails 4 app in semi-production and I constantly get exceptions from crawler bots that use a HEAD HTTP method, which causes the CSRF protection to kick in. Shouldn't HEAD requests normally be handled like GET requests? I am not sure if I'm just being stupid or that hit is a bug so

[Rails] rails datatables refresh javascript

2013-01-23 Thread Heptagone H
Hi I followed a railscast episode and got datatables up and running, beautifully along with the nice jquery-ui as in the front page. The main issue I'm having though is that I suck at CoffeeScript/JS ~_~ I'm trying get the datatables to reload every 1 second but I don’t see any request comin

[Rails] Re: activeldap and migrations

2013-01-23 Thread Jean-François Rioux
I'm facing this issue too. Did you ever found a way to fix it? Thank you, On Wednesday, November 2, 2011 2:54:21 PM UTC-4, Craig White wrote: > > Stupid activeldap is messing with my mind ;-) > > rails (3.1.1 > activeldap (3.1.0) > rubygems-update (1.4.2) > > I have activerecord (database.yml/p

[Rails] Re: Bootstrap issues with RoR

2013-01-23 Thread Mārtiņš Poļakovs
In order for carousel to work you need to include bootstrap javascript files. In your application.js file put //= require bootstrap On Wednesday, January 23, 2013 7:18:55 AM UTC+2, xsc...@gmail.com wrote: > > I added bootstrap-sass to my Gemfile, did bundle install, added "@import > bootstrap"

[Rails] [JOBS] RoR dev wanted for a new generation system plan (Norwegian) [Norway]

2013-01-23 Thread Anders Dreyer
Do you know any Norwegian Ruby developers that would like to join in an adventure? Something beyond the ordinary day to day. Check it out and share if you would be so kind. Read more (in norwegian) here: http://invitasjon.moero.no/ Thank you, and have a great day! -- You received this message

Re: [Rails] Tracking User Event

2013-01-23 Thread keerthi priya
Hi guys can any one help me out. Possible chances to work on it. On Tue, Jan 22, 2013 at 12:14 PM, keerthi priya < emailtokeerthipr...@gmail.com> wrote: > Hi all, > > I am trying to track all the events user does after login . like what did > user search or where did he clicked most all such trac

[Rails] Download XML

2013-01-23 Thread Maddy
Hi Folks, Good Noon, I want to download XML file, I used in my index, %a{:download => "weborder", :href => "/orders.xml?q=a10ie5Vb", :style => "float: left;padding: 0px;background:none;"} In my controller, def index @order = Order.find_by_cart_id(current_cart.id) if params[:q].pre

[Rails] Re: Rspec Test Failing?

2013-01-23 Thread andreo
That seems like it :) also about your cookie problem, is there anything that might look like this: http://stackoverflow.com/questions/9960732/rspec-vs-cookies-the-test-fails-even-if-the-applications-works-simulating-lo all the best, Andre On Tuesday, 22 January 2013 15:00:21 UTC+1, fuzzy wrot

[Rails] Invitation to use Google Talk

2013-01-23 Thread Google Talk
--- You've been invited by Nazar Hussain to use Google Talk. If you already have a Google account, login to Gmail and accept this chat invitation: http://mail.google.com/mail/b-fff935f434-6f56854407-om-x4Opa0vOJa1SPU66vBG1Ii1Q T

[Rails] Invitation to use Google Talk

2013-01-23 Thread Google Talk
--- You've been invited by Nazar Hussain to use Google Talk. If you already have a Google account, login to Gmail and accept this chat invitation: http://mail.google.com/mail/b-fff935f434-9f7b8764e3-aHwDSaiSTfoSa0I3SP5l4KVe5Ko T