Re: [Rails] "g controller" is creating .css not .css.scss

2015-01-15 Thread Vivek Sampara
I think you're missing the gem 'sass-rails' . can you paste your Gemfile ? On Fri, Jan 16, 2015 at 12:21 PM, E. Allan Montes D. wrote: > > > I am using "rails g controller welcome index" to gener

[Rails] Full Time Job :: Sr. Ruby On Rails Developer (San Francisco, Oakland)

2015-01-15 Thread manan . gupta . itm
Please go through the below requirement and if interested, please share your updated resume. *Designation: Sr. Ruby Developer Location: San Francisco , Oakland (California) Job Type: Full Time* *Salary : $100k- $150k + benefits* *Additional Information:* In this Role You will also be expec

[Rails] "g controller" is creating .css not .css.scss

2015-01-15 Thread E. Allan Montes D.
I am using "rails g controller welcome index" to generate the files for a new app, but it generates welcome.scss (instead of welcome.css.scss). Terefoe I am unable to link the css code to the ma

[Rails] The Salsa project at Utah State University seeks ROR developer

2015-01-15 Thread George Joeckel
The Salsa project at Utah State University has developed an open source syllabus application for higher education. We are integrated with the Canvas LMS , and will add integrations with other learning management systems as we grow. In particular,

[Rails] Need opinions on a Rails app as a framework

2015-01-15 Thread Chason Choate
I have an interesting use case for Rails and I would greatly appreciate this community's opinion on the matter. I'm curious if it's possible to build a Rails app that can accomplish the following: Environment stipulations - * Must run

Re: [Rails] Gem is in gemlist but getting error: “Could not find gem”

2015-01-15 Thread Vivek Sampara
The jquery rails gem installed in your machine is not the that Gemfile needs. To confirm this, open Gemfile.lock. search for jquery-rails. you'll find the gem version. compare it with the one in your machine. Cheers On Fri, Jan 16, 2015 at 4:48 AM, Beckah Zz wrote: > When I try to start my proj

[Rails] Re: Duplicate record including paperclip image

2015-01-15 Thread Tony Tambe
I've been working on this more and in the console I can copy from one Pin record and save a new pin like this: r = Pin.new r.image = Pin.find(83).image r.save I think the issue is that the new pin form requires that an image is chosen from the user's PC before saving the pin. Whatever that fu

[Rails] Gem is in gemlist but getting error: “Could not find gem”

2015-01-15 Thread Beckah Zz
When I try to start my project using `rails s` I have the following error message occur: Could not find gem 'jquery-rails (>= 0) ruby' in the gems available on this machine. Run `bundle install` to install missing gems. However, I know I definitely have that gem installed because when I p

[Rails] Devise routing to views inside of gem for one of my models

2015-01-15 Thread David Williams
I can't seem to figure out why Devise is falling back to the gem views for one* of the user models. Here are my routes and the link that I'm using to connect to the new action for the registration form. Available Devise Routes POST /registration.biz_user(.:format) devise/registration

Re: [Rails] Link To New Association

2015-01-15 Thread Robby O'Connor
Some resources: I was wrong. It's accepts_nested_attributes_for . Sorry, case of not having Google available to me. http://asciicasts.com/episodes/196-nested-model-form-part-1 http://asciicasts.

Re: [Rails] Link To New Association

2015-01-15 Thread Robby O'Connor
Nested resource is the way to go. --Rob Sent from my cell, please excuse any typos. On Jan 15, 2015 1:15 PM, "Scott Ribe" wrote: > On Jan 15, 2015, at 11:03 AM, Diego Dillenburg Bueno < > diegodillenb...@gmail.com> wrote: > > > > For now I had solved this issue storing the patient_id in the sess

Re: [Rails] Link To New Association

2015-01-15 Thread Scott Ribe
On Jan 15, 2015, at 11:03 AM, Diego Dillenburg Bueno wrote: > > For now I had solved this issue storing the patient_id in the session, any > information on this solution? That sounds like a bad idea. What if the user has more than one window open, or manages to use the back button to get to a

Re: [Rails] Re: Link To New Association

2015-01-15 Thread Robby O'Connor
Also checkout accepted_nested_resource I think it is? I'm on my phone currently...this would be placed in your model --Rob Sent from my cell, please excuse any typos. On Jan 15, 2015 1:04 PM, "Diego Dillenburg Bueno" wrote: > Thanks for the reply. That would mean building a namespace like Patien

Re: [Rails] Re: Link To New Association

2015-01-15 Thread Diego Dillenburg Bueno
Thanks for the reply. That would mean building a namespace like Patients > Hospitalization? Nesting Hospitalization inside Patients, right? Will try this. For now I had solved this issue storing the patient_id in the session, any information on this solution? If it's ok or not to use it like that?

[Rails] Re: [Constant Reloading] Where is the right place to put MyCustomFormBuilder?

2015-01-15 Thread Andrey Nering
I couldn't make this work with "default_form_builder" method. My solution was using a custom "form_for" method: # application_helper.rb def app_form_for(object, options = {}) options.merge!(builder: AppFormBuilder) form_for object, options do |f| yield f end end And adding the Builde

[Rails] Re: Add multiple user support for a function

2015-01-15 Thread David Williams
Colin Law wrote in post #1166693: > On 15 January 2015 at 04:12, David Williams > wrote: >> These two functions below work perfectly for end to end normal user >> interaction. But, I need help giving line 2 of the code "recipients = >> User.where(id: params['recipients']) multiple user support. As

[Rails] Rare opportunity to work at TINYpulse!

2015-01-15 Thread Tam Doan
We are a fast growing startup looking for senior Ruby Developers. The ideal candidate is 7-10 years experience with a firm grasp on product architecture, performance tuning and Ruby on Rails. The ideal candidate will have a passion for team building and all that goes along with it from recruiting,

[Rails] Re: [Constant Reloading] Where is the right place to put MyCustomFormBuilder?

2015-01-15 Thread Frederick Cheung
On Thursday, January 15, 2015 at 11:51:39 AM UTC, Andrey Nering wrote: > > I have a custom form builder for my application: > I am requiring it in an initializer: > > require "#{Rails.root}/lib/ruby/app_form_builder.rb" > ActionView::Base.default_form_builder = ActionView::Helpers:: > AppFormBuild

[Rails] [Constant Reloading] Where is the right place to put MyCustomFormBuilder?

2015-01-15 Thread Andrey Nering
I have a custom form builder for my application: # file location: /lib/ruby/app_form_builder.rb class ActionView::Helpers::AppFormBuilder < ActionView::Helpers::FormBuilder include ActionView::Helpers::TagHelper include ActionView::Context def foo 'bar' end end I am requiring it in

Re: [Rails] form_tag and link_to

2015-01-15 Thread Vivek Sampara
Like this . <%= form_tag(result_path(:q => params[:q]), :method => :get) do %> <%text_field :term %> <%= submit_tag 'Search' %> <% end %> On Thursday, 15 January 2015 16:24:32 UTC+5:30, Melb01 wrote: > > thx, I'll try this > but how can I fill the target form with the same term too in resu

Re: [Rails] form_tag and link_to

2015-01-15 Thread Melb01
thx, I'll try this but how can I fill the target form with the same term too in result page (I am trying to reproduce the google search experience ) rgds, -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group an

[Rails] Looking for RoR job (remotely/part-time/full-time)

2015-01-15 Thread Erwin
I am looking for a job as a Ruby On Rails developer/tester - remotely, as a part-time or full-time. Knowledge - 8 years programming in Ruby On Rails standard dev env: - HTML/HAML/XML/JSON - Git or SVN repository - storage: MySQL, PostgreSQL,MongoDB, Redis - JS/Coffescript + JS frameworks sta

Re: [Rails] form_tag and link_to

2015-01-15 Thread Vivek Sampara
Hi, Change the form :method to :get <%= form_tag(result_path(:q => :term), :method => :get) do %> <%text_field :term %> <%= submit_tag 'Search' %> <% end %> On Thu, Jan 15, 2015 at 3:00 PM, Melb01 wrote: > Hi > > I have a search box put in a form that I want when I submit I get > redirect

[Rails] form_tag and link_to

2015-01-15 Thread Melb01
Hi I have a search box put in a form that I want when I submit I get redirected to an other page where I get results the problem is I can't get the right link in the target page and I am unable to make pagination because params is not set let's say I have the home page with the form: <%= form

Re: [Rails] Add multiple user support for a function

2015-01-15 Thread Colin Law
On 15 January 2015 at 04:12, David Williams wrote: > These two functions below work perfectly for end to end normal user > interaction. But, I need help giving line 2 of the code "recipients = > User.where(id: params['recipients']) multiple user support. As in allow > User model to interact with B

Re: [Rails] Re: GAntt chart development tools

2015-01-15 Thread Vivek Sampara
Use highcharts.js refer - http://forum.highcharts.com/viewtopic.php?f=9&t=19043 https://highcharts.uservoice.com/forums/55896-general/suggestions/804783-gantt-chart On Thu, Jan 15, 2015 at 12:49 PM, Kashif Umair Liaqat wrote: > Is there anyone with the suggestion? I also need it. > > On Wednes