11 Oct '13, 3pm

reject_ifの使い方。これで更新したくない場合の子モデルの状態を定義できる。これで今抱えてる更新フォームを表示する時に子モデルが一件もない場合でもforms_for使いたい問題は解決できるかも / “Module: Acti…”

If true, destroys any members from the attributes hash with a _destroy key and a value that evaluates to true (eg. 1, ‘1’, true, or ‘true’). This option is off by default. :reject_if Allows you to specify a Proc or a Symbol pointing to a method that checks whether a record should be built for a certain attribute hash. The hash is passed to the supplied Proc or the method and it should return either true or false . When no :reject_if is specified, a record will be built for all attribute hashes that do not have a _destroy value that evaluates to true. Passing :all_blank instead of a Proc will create a proc that will reject a record where all the attributes are blank excluding any value for _destroy. :limit Allows you to specify the maximum number of the associated records that can be processed with the nested attributes. Limit also can be specified as a Proc or a Symbol poi...

Full article: http://api.rubyonrails.org/classes/ActiveRecord/NestedAtt...

Tweets

Semtech Partners with IMST On New Radio Module ...

semtech.com 09 Oct '13, 5pm

Semtech Partners with IMST On New Radio Module Featuring Long Distance LoRa™ Technology LoRa™ Long Range Technology Adds C...

Solar PV Module Quality Concerns Still Exist for Developing World

Solar PV Module Quality Concerns Still Exist fo...

renewableenergyworld.com 08 Oct '13, 2pm

Conversations with solar industry executives from across the value chain reveal concerns about low-quality materials being...

Samsung Improves Anti-shake Function of Camera Module:

Samsung Improves Anti-shake Function of Camera ...

techon.nikkeibp.co.jp 05 Oct '13, 6am

Samsung Improves Anti-shake Function of Camera Module Oct 5, 2013 14:47 Ikutaro Kojima, Tech-On! The camera module featuri...

#Tech New Camera Module Allows to Adjust Focus ...

techon.nikkeibp.co.jp 28 Sep '13, 12pm

New Camera Module Allows to Adjust Focus After Taking Picture Sept 28, 2013 18:56 Tsuneyuki Miyake, Tech-On! The camera mo...

Mouser - Integrated motor-driver designed for advanced energy-efficient fans and pumps

Mouser - Integrated motor-driver designed for a...

electropages.com 28 Sep '13, 9pm

International Rectifier’s IRSM836 integrated power module (IPM) is now available from Mouser. The device is designed for a...

Chicago Company Looks To Build 500 MW Solar Power Plant In São Paulo: .pw-widget p{

Chicago Company Looks To Build 500 MW Solar Pow...

cleantechnica.com 11 Oct '13, 5pm

Solar power is growing at a tremendous rate, and there are constantly new hot markets jumping onto the scene. One of these...

Will Najib lead BN into GE14? - P Gunasegaram (...

blog.limkitsiang.com 06 Oct '13, 3am

P Gunasegaram Malaysiakini Oct 4, 2013 QUESTION TIME In the wee hours of yesterday as most of Malaysia slept, the amendmen...

Sass の custom functions 覚えたー。 declare 書くとその名前で ...

sass-lang.com 01 Oct '13, 7am

Declare a Sass signature for a Ruby-defined function. This includes the names of the arguments, whether the function takes...

New blog post : 3 gelaterie in Rome to try before it gets too cold :p

New blog post : 3 gelaterie in Rome to try befo...

rinaz.net 09 Oct '13, 9am

Before the weather gets too cold, try these 3 different gelaterie in Rome that I stumbled on and really liked. 1. Grom My ...

Golf Buzz: After Presidents Cup, Jason Day took the ice with Columbus @BlueJacketsNHL See him skate: #p…

Golf Buzz: After Presidents Cup, Jason Day took...

pga.com 09 Oct '13, 12pm

When you think Australian, the first thing that comes to mind is hockey, right? We didn't think so. But on Tuesday, hockey...

Asia Pacific hotel investment sales up 151.1%: ...

propertyguru.com.sg 09 Oct '13, 9am

Oct 9, 2013 - PropertyGuru.com.sg Comment E-mail to friend Bookmark & Share The total value of Asia Pacific investment sal...

World Golf Hall of Fame cancels 2014 vote as it re-evauates induction process, will resume for 2015: #p…

World Golf Hall of Fame cancels 2014 vote as it...

pga.com 08 Oct '13, 3am

The World Golf Hall of Fame announced Monday that it will not conduct an election for a class of 2014 while it undertakes ...

3 Induction Cooktops for Green Building and LEED: The induction "burners" have pan size sensors, so only the p...

3 Induction Cooktops for Green Building and LEE...

green-buildings.com 06 Oct '13, 11pm

Product Review provided by: Claire Moloney, Cornell University Product Review Induction cooktops work by electromagnetism....