similar to: Naming join models

Displaying 20 results from an estimated 2000 matches similar to: "Naming join models"

2006 Mar 09
1
very basic newbie question!
Bringing up (trying!) my first rails app... no OO experience the scaffold generator automatically creates new activerecord objects for the create/edit form using: def new @schoolclass = Schoolclass.new end I wanted to initialize the object, so I added to the object creation statement as follows: @schoolclass = Schoolclass.new(:day=>1, :start_time=>"2006:01:01 00:00:00,
2006 Mar 09
1
OOP basics
I''ve got: def new @schoolclass = Schoolclass.new(:day=>1, :start_time=>"2006:01:01 00:00:00, :description=>"enter description here") breakpoint() end after the breakpoint, I can @schoolclass.inspect and see the @schoolclass attributes, however @schoolclass.day, @schoolclass[:day] and @schoolclass["day"] all return NIL. what am I doing wrong?
2006 Jan 20
6
Pre-populate db with yaml outside of testing?
Hi. What is the best way to pre-populate your database with records while developing, not testing? For example, I want to: 1) > [run this command to populate db] 2) > ruby script/server 3) now I can surf to localhost:3000 and my app will already have relevant data I''m hoping to use yaml to suck it in. Is there a way to use the Fixture class to handle this even though this is
2006 Jan 09
5
Formatting timestamp objects
I want to print my timestamp objects in a specific format. I want to print a date like this: Sunday, January 8 2006 I don''t want it to print January 08. For the time, I want it to look like this: 9:08 pm Not 09:08 and lower case PM. I created these methods: def format_date(date) date.strftime("%A, %B #{date.day} #{date.year}") end def format_time(date) if
2012 May 31
13
Biometric Device Installation
I am using Project fedena <http://projectfedena.org/> for School Management software a ROR application. i want to attach a biometric device for students & employee attendance , any one can suggest me how i can do it. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To view this discussion on the web visit
2011 Sep 25
4
checkbox use question
Hi, how can I use checkbox in a form to show all customers from table customers, Course Users Customers ========= ========= ============= user_id customer_id Customer_name I would like to select customers from the checkbox list, then add to the course table only users of the selected customers. thanks dani -- Posted via http://www.ruby-forum.com/. -- You received
2006 Sep 06
3
Encrypted partition short howto
I've written a short howto on creating and mounting an encrypted filesystem using dm-crypt. The doc currently lives on our internal wiki (Trac) at work, but I'd love to rewrite and post for a general readership. I suppose the proposed URL would be something like http://wiki.centos.org/TipsAndTricks/EncryptedFilesystem -- Paul Heinlein <> heinlein at madboa.com <>
2005 Oct 11
1
RoR on Apache
I used generate/scaffold to create simple CRUD screen that works perfectly with Webrick. I wanted to attempt to run the same ROR app on Apache. I followed the instructions found at http://wiki.rubyonrails.org/rails/pages/Fast+CGI+and+Apache2+for+Windows+XP with the alternate ending found at http://wiki.rubyonrails.org/rails/pages/Fast+CGI+and+Apache2+for+Windows+wit hout+VirtualHosts. I have
2016 Mar 16
2
GSoC 2016 Project: Implement Bindings for R
On Wed, Mar 16, 2016 at 12:09:01AM +0530, Amanda Jayanetti wrote: > Seems like it takes a lot of time for 'proof of enrollment' document to get > processed. Will upload the proposal as soon as it gets accepted. You should be able to upload a proposal while the proof of enrollment is still awaiting review. Cheers, Olly
2006 Mar 31
3
Complex Through Statement
Quick Overview: I have an ''Employee'', some ''Merchants'' and some ''Products''. A ''Merchant'' has many ''Products''. An ''Employee'' has multiple ''Merchants'', depending on their relationship. For example, the Employee may be the enrollment contact for one merchant and the
2016 Mar 15
3
GSoC 2016 Project: Implement Bindings for R
Thanks a lot for the feedback James. Will work on the suggested improvements and upload a better version soon. For now, I'll upload the same proposal in GSoC website. Regards, Amanda On Tue, Mar 15, 2016 at 3:47 PM, James Aylett <james-xapian at tartarus.org> wrote: > On Tue, Mar 15, 2016 at 11:47:29AM +0530, Amanda Jayanetti wrote: > > > Here's a link to my project
2017 Sep 30
9
XP auto enrollment error; TEMP profile
Dear list, Help! I just upgrade a samba server. Server: Fedora 26 samba-4.6.8-0.fc26.x86_64 Workstations (5 of them): XP Pro SP3 The old server was set up as a Domain controller. I copied the smb.conf over to the new server. The XP workstations can see and mount everything. On the workstations, I removed myself from the old domain and rebooted, powered off the old server,
2016 Mar 15
2
GSoC 2016 Project: Implement Bindings for R
On Wed, Mar 16, 2016 at 12:09:01AM +0530, Amanda Jayanetti wrote: > Seems like it takes a lot of time for 'proof of enrollment' document > to get processed. Will upload the proposal as soon as it gets > accepted. That sounds like a good idea -- I'm sure they have a huge number of students to check into the system. Let us know if you run into any problems (likewise anyone
2006 Jan 03
8
MacOS X Tiger Rails Install problem
According to the Hivelogic instructions <http://hivelogic.com/ articles/2005/12/01/ruby_rails_lighttpd_mysql_tiger> to correctly installing RoR on Tiger: > With RubyGems installed, Rails is a simple, one-line install: > > sudo gem install rails --include-dependencies > > Some people following these instructions report one of two errors > after performing this step.
2017 Oct 01
1
XP auto enrollment error; TEMP profile
On 09/30/2017 12:58 AM, Rowland Penny via samba wrote: > On Fri, 29 Sep 2017 18:27:29 -0700 > ToddAndMargo via samba <samba at lists.samba.org> wrote: > >> Dear list, >> >> Help! >> >> I just upgrade a samba server. >> >> Server: >> Fedora 26 >> samba-4.6.8-0.fc26.x86_64 >> >> Workstations (5 of them):
2016 Mar 20
2
GSoC 2016 Project: Implement Bindings for R
Hi James, Based on your suggestions, I improved the 'project details' and 'project timeline' sections of my proposal. Could you kindly review it and let me know if it requires further improvements. Regards, Amanda On Thu, Mar 17, 2016 at 2:06 PM, Amanda Jayanetti <amandajayanetti at gmail.com > wrote: > Thanks for the information Olly! I uploaded the same proposal that
2004 Dec 22
15
OpenVPN and DNAT
Hello Tom and all, Quick question: Is it possible to operate an OpenVPN server from behind a firewall? Is it as simple as setting it up and placing: DNAT net loc:192.168.10.20 udp 5000 - ipaddress -- Paul Slinski -o) Network Administrator /\ Global IQX, Inc. _\_v Global IQX is the leader in integrated e-business automation solutions for the group life and health insurance
2016 Mar 19
2
Regarding GSoC 2016 project idea
Hello, I am Ainish Dave from Ahmedabad, India. I am currently pursuing my masters level degree with background in computer science. I browsed through the list of organizations on the GSoC program page and Xapian was the one which closely matched with my interest and background. I had some queries: 1) I am interested in the project 'Clustering of Search Results'. I have followed the
2017 Oct 02
3
XP auto enrollment error; TEMP profile
On 10/02/2017 12:32 AM, Reindl Harald via samba wrote: > > > Am 02.10.2017 um 07:25 schrieb ToddAndMargo via samba: >> On 10/01/2017 10:03 PM, Reindl Harald (mobile) via samba wrote: >>> sorry but to say it clear: to think a anti-virus can replace a solid >>> operating system is a naive and dangerous attitude >>> >> >> Uhhh,   Why do you not
2022 Jan 31
1
[Announce] Samba 4.16.0rc2 Available for Download
Release Announcements ===================== This is the second release candidate of Samba 4.16.? This is *not* intended for production environments and is designed for testing purposes only.? Please report any defects via the Samba bug reporting system at https://bugzilla.samba.org/. Samba 4.16 will be the next version of the Samba suite. UPGRADING ========= NEW FEATURES/CHANGES